We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a3cd24e commit 9a722dcCopy full SHA for 9a722dc
tests/fann_test.cpp
@@ -24,7 +24,7 @@ void FannTest::AssertCreate(neural_net &net, unsigned int numLayers, const unsig
24
for (unsigned int i = 0; i < numLayers; i++) {
25
EXPECT_EQ(layers[i], layers_res[i]);
26
}
27
- delete layers_res;
+ delete[] layers_res;
28
29
EXPECT_EQ(neurons, net.get_total_neurons());
30
EXPECT_EQ(connections, net.get_total_connections());
0 commit comments