Skip to content

Commit

Permalink
Fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
jatinchowdhury18 committed Nov 13, 2024
1 parent 4a61158 commit 5909c44
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions RTNeural/dense/dense_eigen.h
Original file line number Diff line number Diff line change
Expand Up @@ -211,13 +211,13 @@ class DenseT
*/
#if RTNEURAL_HAS_CPP17
template <bool b = has_bias>
RTNEURAL_REALTIME inline typename std::enable_if<b>::type setBias(const T* b)
RTNEURAL_REALTIME inline typename std::enable_if<b>::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<out_vec_type, RTNeuralEigenAlignment> outs;
Expand Down

0 comments on commit 5909c44

Please sign in to comment.