Skip to content

Commit

Permalink
fix ci build issue
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanhhughes committed Dec 12, 2024
1 parent 511bb00 commit 4c3414a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion include/spark_dsg/serialization/json_conversions.h
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ struct adl_serializer<Eigen::Matrix<Scalar, Rows, Cols>> {
throw std::runtime_error(ss.str());
}

mat = Eigen::Matrix<Scalar, Rows, Cols>(rows, cols);
mat = Eigen::Matrix<Scalar, Rows, Cols>::Zero(rows, cols);
for (size_t i = 0; i < vec->size(); ++i) {
int r = i / cols;
int c = i % cols;
Expand Down
1 change: 1 addition & 0 deletions include/spark_dsg/serialization/versioning.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
#include <string>
#include <unordered_map>
#include <unordered_set>
#include <cstdint>
#include <vector>

namespace spark_dsg::io {
Expand Down

0 comments on commit 4c3414a

Please sign in to comment.