From 55c5d3f23b59d0cbbf68f6ebd85bcd289b93bd1e Mon Sep 17 00:00:00 2001 From: Ryan Curtin Date: Tue, 15 Dec 2020 20:25:56 -0500 Subject: [PATCH] Fix static code analysis issue. --- src/mlpack/tests/serialization_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mlpack/tests/serialization_test.cpp b/src/mlpack/tests/serialization_test.cpp index f0b19d6950..ebbfdc4f76 100644 --- a/src/mlpack/tests/serialization_test.cpp +++ b/src/mlpack/tests/serialization_test.cpp @@ -1644,7 +1644,7 @@ TEST_CASE("CerealEmptyArrayWrapperTest", "[SerializationTest]") jsonT.mem = new int[5]; jsonT.len = 5; - SerializeObjectAll(t, xmlT, binaryT, jsonT); + SerializeObjectAll(t, xmlT, jsonT, binaryT); // Ensure that all the results are correct. REQUIRE(xmlT.mem == (int*) NULL);