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 ef473a7 commit 050278fCopy full SHA for 050278f
highs/ipm/hipo/ipm/Model.cpp
@@ -539,8 +539,8 @@ Int Model::loadIntoIpx(ipx::LpSolver& lps) const {
539
540
void Model::multWithoutSlack(double alpha, const std::vector<double>& x,
541
std::vector<double>& y, bool trans) const {
542
- assert(x.size() == trans ? m_ : n_orig_);
543
- assert(y.size() == trans ? n_orig_ : m_);
+ assert(x.size() == (trans ? m_ : n_orig_));
+ assert(y.size() == (trans ? n_orig_ : m_));
544
545
if (trans) {
546
for (Int col = 0; col < n_orig_; ++col) {
0 commit comments