From 4281746cfca26b798bc05873cad76b2cc3a86fe2 Mon Sep 17 00:00:00 2001 From: Relintai Date: Sun, 5 Feb 2023 10:02:35 +0100 Subject: [PATCH] Fix warning. --- mlpp/lin_alg/mlpp_matrix.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mlpp/lin_alg/mlpp_matrix.h b/mlpp/lin_alg/mlpp_matrix.h index a18d702..b75b8ec 100644 --- a/mlpp/lin_alg/mlpp_matrix.h +++ b/mlpp/lin_alg/mlpp_matrix.h @@ -248,6 +248,8 @@ public: for (int i = 0; i < _size.x; ++i) { row_ptr[i] = _data[ind_start + i]; } + + return ret; } _FORCE_INLINE_ Ref get_row_mlpp_vector(int p_index_y) { @@ -269,6 +271,8 @@ public: for (int i = 0; i < _size.x; ++i) { row_ptr[i] = _data[ind_start + i]; } + + return ret; } _FORCE_INLINE_ void get_row_into_mlpp_vector(int p_index_y, Ref target) const {