Skip to content

Commit 22df819

Browse files
a-andresvigerske
authored andcommitted
Use CoinBuild::Type enum
1 parent 84ef754 commit 22df819

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Osi/OsiSolverInterface.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ void OsiSolverInterface::addCols(const int numcols, const CoinBigIndex *columnSt
383383
// Add columns from a build object
384384
void OsiSolverInterface::addCols(const CoinBuild &buildObject)
385385
{
386-
assert(buildObject.type() == 1); // check correct
386+
assert(buildObject.type() == CoinBuild::Type::Column); // check correct
387387
int number = buildObject.numberColumns();
388388
if (number) {
389389
CoinPackedVectorBase **columns = new CoinPackedVectorBase *[number];

0 commit comments

Comments
 (0)