Skip to content

Commit

Permalink
fix(Attribute): fix bug on attribute capacity when deleting elements
Browse files Browse the repository at this point in the history
  • Loading branch information
panquez authored and BotellaA committed Feb 13, 2020
1 parent 41419a9 commit 27b05d7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/geode/basic/attribute.h
Original file line number Diff line number Diff line change
Expand Up @@ -412,6 +412,7 @@ namespace geode
std::vector< bool > to_keep( to_delete );
to_keep.flip();
values_ = extract_vector_elements( to_keep, values_ );
reserve( 10 );
}

private:
Expand Down Expand Up @@ -536,6 +537,7 @@ namespace geode
std::vector< bool > to_keep( to_delete );
to_keep.flip();
values_ = extract_vector_elements( to_keep, values_ );
reserve( 10 );
}

private:
Expand Down

0 comments on commit 27b05d7

Please sign in to comment.