From 5909c44909cd6100367f62cd04b348de85d57dbf Mon Sep 17 00:00:00 2001 From: jatin Date: Tue, 12 Nov 2024 19:05:15 -0800 Subject: [PATCH] Fix warning --- RTNeural/dense/dense_eigen.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/RTNeural/dense/dense_eigen.h b/RTNeural/dense/dense_eigen.h index a96c8de..038a655 100644 --- a/RTNeural/dense/dense_eigen.h +++ b/RTNeural/dense/dense_eigen.h @@ -211,13 +211,13 @@ class DenseT */ #if RTNEURAL_HAS_CPP17 template - RTNEURAL_REALTIME inline typename std::enable_if::type setBias(const T* b) + RTNEURAL_REALTIME inline typename std::enable_if::type setBias(const T* bias_vals) #else - RTNEURAL_REALTIME inline void setBias(const T* b) + RTNEURAL_REALTIME inline void setBias(const T* bias_vals) #endif { for(int i = 0; i < out_size; ++i) - weights(i, in_size) = b[i]; + weights(i, in_size) = bias_vals[i]; } Eigen::Map outs;