diff options
author | Piotr Trojanek <ptroja@users.noreply.github.com> | 2019-08-24 18:36:31 +0200 |
---|---|---|
committer | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2019-08-24 11:36:31 -0500 |
commit | 940bcf6dd74a15818bc88c2a183de93b7114cba5 (patch) | |
tree | 46a7382e2dd8d72ffca889ea9da898a8408d3683 | |
parent | 0faead1572109c1d7cb3d67647da02d0b4600a20 (diff) |
fix mismatch between "delete" and "new []" (#2795)
-rw-r--r-- | src/theory/arith/approx_simplex.cpp | 2 |
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: |