Skip to content

Commit

Permalink
fix linux compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
Neutree committed Jun 21, 2024
1 parent 0b5adf5 commit c79516d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/nn/include/maix_nn_yolov8.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ namespace maix::nn
{
box_out = i.second;
}
else if(strstr(i.first.c_str(), "Sigmoid") > 0)
else if(strstr(i.first.c_str(), "Sigmoid") != NULL)
{
score_out = i.second;
}
Expand Down

0 comments on commit c79516d

Please sign in to comment.