Skip to content

Commit

Permalink
Return SparseMatrix as RowMajor for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
robomics committed Sep 15, 2024
1 parent 4b9d7fa commit 59b51d7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class ToSparseMatrix {
QuerySpan _span{QuerySpan::upper_triangle};

public:
using MatrixT = Eigen::SparseMatrix<N>;
using MatrixT = Eigen::SparseMatrix<N, Eigen::RowMajor>;
ToSparseMatrix(PixelSelector&& selector, N n, QuerySpan span = QuerySpan::upper_triangle);
[[nodiscard]] auto operator()() -> MatrixT;

Expand Down

0 comments on commit 59b51d7

Please sign in to comment.