GiorgosXou/NeuralNetworks

ESP32 Error "invalid conversion from 'const float*' to 'float*' [-fpermissive]"

kamon2022 opened this issue · 2 comments

Hi,
I have some problem if I use ESP32
I found this error. "invalid conversion from 'const float*' to 'float*' [-fpermissive]" in file "FeedForward_double_Xor"

Could you help me ?
I can compile if i use arduino mega. I can not compile if I use esp32

Just remove the const from those 2 lines:

const float biases[] = {1, 1, 0.99308};

Reference

Thank you very much for helping.