Skip to content

Commit

Permalink
revert =-2 off of storage size.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben Segal committed Aug 19, 2018
1 parent cab87fe commit 5faf661
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion albatross/eigen/serializable_ldlt.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ inline void load_lower_triangle(Archive &archive,
cereal::size_type storage_size;
archive(cereal::make_size_tag(storage_size));
// TODO: understand why the storage size upon load is always augmented by two.
storage_size -= 2;
// storage_size -= 2;
// We assume the matrix is square and compute the number of rows from the
// storage size using the quadratic formula.
// rows^2 + rows - 2 * storage_size = 0
Expand Down

0 comments on commit 5faf661

Please sign in to comment.