use proper c-array

This commit is contained in:
envolution 2024-11-30 16:12:11 -05:00
parent afaf41f794
commit 3dadad8d55

View File

@ -133,7 +133,7 @@ cdef void predict_states(
)
# Add bias
for i in range(n.states):
saxpy(cblas)(n.classes, 1., W.hidden_bias, 1, &scores[i*n.classes], 1)
saxpy(cblas)(n.classes, 1., W.hidden_bias, 1, &A.scores[i*n.classes], 1)
# Set unseen classes to minimum value
i = 0
min_ = A.scores[0]