From d4109a2d5b7e24bd64985fd7ed93c488d18e70c2 Mon Sep 17 00:00:00 2001 From: Relintai Date: Fri, 29 Dec 2023 19:23:29 +0100 Subject: [PATCH] Fixed clang format warning. --- mlpp/numerical_analysis/numerical_analysis.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mlpp/numerical_analysis/numerical_analysis.cpp b/mlpp/numerical_analysis/numerical_analysis.cpp index 8138d8d..192924e 100644 --- a/mlpp/numerical_analysis/numerical_analysis.cpp +++ b/mlpp/numerical_analysis/numerical_analysis.cpp @@ -224,8 +224,9 @@ Ref MLPPNumericalAnalysis::third_order_tensor(real_t (*function)(co for (int i = 0; i < tensor_size.z; i++) { // O(n^3) time complexity :( for (int j = 0; j < tensor_size.y; j++) { - for (int k = 0; k < tensor_size.x; k++) + for (int k = 0; k < tensor_size.x; k++) { tensor->element_set(i, j, k, num_diff_3v(function, x, i, j, k)); + } } }