Skip to content

Commit 4f19884

Browse files
salbert83OkonSamuel
authored andcommitted
Update src/classification/main.jl
Co-authored-by: Okon Samuel <[email protected]>
1 parent 7b874d5 commit 4f19884

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/classification/main.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,7 @@ function apply_forest(
462462
end
463463
else
464464
for i in 1:N
465-
predictions[i] = apply_forest(forest, features[i, :])
465+
predictions[i] = apply_forest(forest, @view(features[i, :]))
466466
end
467467
end
468468
return predictions

0 commit comments

Comments
 (0)