Skip to content

Commit

Permalink
Update unaryop.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
nihui authored Dec 24, 2024
1 parent 8d82dfa commit 13c4145
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/layer/unaryop.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ struct unary_op_exp
{
float operator()(const float& x) const
{
return (float)exp(x);
return (float)expf(x);
}
};

Expand Down

0 comments on commit 13c4145

Please sign in to comment.