From d684f390310989455c627d3d0a4187a96465b30e Mon Sep 17 00:00:00 2001 From: Michael Behrisch Date: Fri, 26 Jan 2024 17:16:57 +0100 Subject: [PATCH] fixing code style #22 --- src/utils/traction_wire/Circuit.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/traction_wire/Circuit.cpp b/src/utils/traction_wire/Circuit.cpp index 69aa4fddcf65..0721ae7e1df4 100644 --- a/src/utils/traction_wire/Circuit.cpp +++ b/src/utils/traction_wire/Circuit.cpp @@ -610,8 +610,8 @@ bool Circuit::_solveNRmethod() { // vals are now the solution x of the circuit deployResults(vals, &removable_ids); - delete eqn; - delete vals; + delete[] eqn; + delete[] vals; return true; }