Skip to content

Commit

Permalink
allow to compile CoinOslFactorization2 with DEBUG defined
Browse files Browse the repository at this point in the history
  • Loading branch information
h-g-s authored and jhmgoossens committed Jun 6, 2020
1 parent 721fe95 commit d7a1993
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions src/CoinOslFactorization2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1446,13 +1446,15 @@ static int c_ekkbtrn_mpt(COIN_REGISTER3 const EKKfactinfo *COIN_RESTRICT2 fact,
/*const int *mrstrt = fact->xrsadr;*/

#ifdef DEBUG
int i;
memset(spare, 'A', 3 * nrow * sizeof(int));
{
int i;
memset(spare, 'A', 3 * nrow * sizeof(int));
{

for (i = 1; i <= nrow; i++) {
if (dpermu[i]) {
abort();
for (i = 1; i <= nrow; i++) {
if (dpermu[i]) {
abort();
}
}
}
}
Expand Down

0 comments on commit d7a1993

Please sign in to comment.