From 12d43703b002c52e6738b6129bb2ed46ef4fad8d Mon Sep 17 00:00:00 2001 From: "jan.reininghaus" Date: Tue, 30 Apr 2013 15:38:30 +0000 Subject: bugfix for dualize git-svn-id: https://phat.googlecode.com/svn/trunk@52 8e3bb3c2-eed4-f18f-5264-0b6c94e6926d --- include/phat/helpers/dualize.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'include') diff --git a/include/phat/helpers/dualize.h b/include/phat/helpers/dualize.h index 5f9a05c..5a9baf7 100644 --- a/include/phat/helpers/dualize.h +++ b/include/phat/helpers/dualize.h @@ -32,9 +32,8 @@ namespace phat { dual_matrix.resize( nr_of_columns ); dual_dims.resize( nr_of_columns ); - std::vector< dimension >& dual_sizes = dual_dims; + std::vector< index > dual_sizes( nr_of_columns, 0 ); - column temp_col; for( index cur_col = 0; cur_col < nr_of_columns; cur_col++ ) { boundary_matrix.get_col( cur_col, temp_col ); -- cgit v1.2.3