summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Trojanek <ptroja@users.noreply.github.com>2019-08-24 18:36:31 +0200
committerAndrew Reynolds <andrew.j.reynolds@gmail.com>2019-08-24 11:36:31 -0500
commit940bcf6dd74a15818bc88c2a183de93b7114cba5 (patch)
tree46a7382e2dd8d72ffca889ea9da898a8408d3683
parent0faead1572109c1d7cb3d67647da02d0b4600a20 (diff)
fix mismatch between "delete" and "new []" (#2795)
-rw-r--r--src/theory/arith/approx_simplex.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/theory/arith/approx_simplex.cpp b/src/theory/arith/approx_simplex.cpp
index e621131d5..ea349a383 100644
--- a/src/theory/arith/approx_simplex.cpp
+++ b/src/theory/arith/approx_simplex.cpp
@@ -1487,7 +1487,7 @@ static void glpkCallback(glp_tree *tree, void *info){
RowsDeleted* rd = new RowsDeleted(exec, nrows, num);
node.addCut(rd);
- delete num;
+ delete[] num;
}
break;
case GLP_ICUTADDED:
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback