We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a27d40c commit 5604037Copy full SHA for 5604037
trajopt_ifopt/src/costs/absolute_cost.cpp
@@ -80,7 +80,7 @@ void AbsoluteCost::FillJacobianBlock(std::string var_set, Jacobian& jac_block) c
80
Eigen::ArrayXd w_error = error * weights_.array();
81
Eigen::VectorXd coeff = w_error / error.abs();
82
83
- jac_block = coeff.sparseView() * cnt_jac_block; // NOLINT
+ jac_block = coeff.sparseView().eval() * cnt_jac_block; // NOLINT
84
}
85
86
} // namespace trajopt_ifopt
0 commit comments