Skip to content

Commit

Permalink
old-style constexpr
Browse files Browse the repository at this point in the history
  • Loading branch information
fwilliams committed Aug 15, 2019
1 parent aa3aee1 commit 5f17e29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const int IglDefaultOptions = Eigen::RowMajor;
//}

constexpr bool opts_dontalign(int options) {
return options == (Eigen::ColMajor | Eigen::DontAlign) || options == (Eigen::RowMajor | Eigen::DontAlign);
return (options == (Eigen::ColMajor | Eigen::DontAlign) || options == (Eigen::RowMajor | Eigen::DontAlign));
}

template <bool DontAlign, int Opts>
Expand Down

0 comments on commit 5f17e29

Please sign in to comment.