summaryrefslogtreecommitdiff
path: root/include/phat/helpers/dualize.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/phat/helpers/dualize.h')
-rw-r--r--include/phat/helpers/dualize.h3
1 files changed, 1 insertions, 2 deletions
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 );