summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjan.reininghaus <jan.reininghaus@8e3bb3c2-eed4-f18f-5264-0b6c94e6926d>2013-04-30 15:38:30 +0000
committerjan.reininghaus <jan.reininghaus@8e3bb3c2-eed4-f18f-5264-0b6c94e6926d>2013-04-30 15:38:30 +0000
commit12d43703b002c52e6738b6129bb2ed46ef4fad8d (patch)
treed8cee5f5cb4405f244bdb3da134906caffac71a8
parentfde6d0e49fc93d86fd50143e50c3c11f11440712 (diff)
bugfix for dualize
git-svn-id: https://phat.googlecode.com/svn/trunk@52 8e3bb3c2-eed4-f18f-5264-0b6c94e6926d
-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 );