Skip to content

Commit 1d2fe4d

Browse files
committed
Fix if constexpr
1 parent 2a7b1b2 commit 1d2fe4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/util/image_util.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ namespace {
5252

5353
void eigen2cv(const Eigen::MatrixXd& mat, ugu::Image1d& img) {
5454
Eigen::MatrixXd mat_ = mat;
55-
if constexpr (mat.IsRowMajor != 0) {
55+
if constexpr (Eigen::MatrixXd::IsRowMajor != 0) {
5656
mat_ = mat.transpose();
5757
}
5858

0 commit comments

Comments
 (0)