Skip to content

Commit

Permalink
Fixed narrowing conversion for clang
Browse files Browse the repository at this point in the history
  • Loading branch information
mapgccv committed May 12, 2023
1 parent 756b2a7 commit 3547034
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion solvers/cplexmp/cplexmpbackend.cc
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ namespace mp {
val.push_back(x0[i]);
}
}
int beg[2] = { 0, val.size() };
int beg[2] = { 0, static_cast<int>(val.size()) };
CPLEX_CALL(CPXaddmipstarts(env(), lp(), 1, val.size(), beg, idx.data(), val.data(), 0, nullptr));
}

Expand Down

0 comments on commit 3547034

Please sign in to comment.