Skip to content

Commit

Permalink
do not need to sort
Browse files Browse the repository at this point in the history
  • Loading branch information
pfetsch committed Nov 22, 2024
1 parent 5fa4edb commit 0178843
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/scip/var.c
Original file line number Diff line number Diff line change
Expand Up @@ -4211,9 +4211,6 @@ SCIP_RETCODE SCIPvarGetActiveRepresentatives(
}
#endif

/* sort active variables for making the results consistent (todo: check whether this is necessary) */
SCIPsortPtr((void**)activevars, SCIPvarComp, nactivevars);

/* copy active variable and scalar array to the given arrays */
*nvars = 0;
for( v = 0; v < nactivevars; ++v )
Expand Down

0 comments on commit 0178843

Please sign in to comment.