compiling error: 'expf' is not a member of 'std'
Created by: Knownx
I got this error when I compile this repo. Details as bellow:
[Issue]:
Error occurs at /paddle-mobile/test/operators/test_sequence_softmax_op.cpp
和 /paddle-mobile/test/operators/test_softmax_op.cpp
while make
running:
error: 'expf' is not a member of 'std'
[Env]: Host: MacOSX 10.12.6 Compiling method: docker (as per docker based compiling) paddle-mobile branch: develop
[Solution]:
Issue could be resolved by changing std::expf
to expf
as of now.
Could some help to check if this is the code bug and provide the correct solution? Thanks in advance!