Open dujinpeng0249 opened 9 months ago
It can't. For better align, it can't understand constexpr auto
. Maybe it can align like
constexpr auto NaN = std::numeric_limits<double>::quiet_NaN();
Eigen::VectorXd current_penalties = Eigen::VectorXd::Constant(constrain_number, NaN);
before align:
after align:
However, I think the proper alignment should be as follows:
Because
constexpr auto
is the complete type ofNaN
.