Artelnics / opennn

OpenNN - Open Neural Networks Library
http://www.opennn.net
GNU Lesser General Public License v3.0
1.12k stars 354 forks source link

Compilation error on Ubuntu 22.04 #271

Closed leondavi closed 12 months ago

leondavi commented 1 year ago

Ubuntu 22.04 Branch SHA 6f8a43bc8d0a42f4546a7010f67210bf4f1133d6 gcc/g++ version - 11.3.0

I get the following compilation error: Screenshot 2023-05-07 at 9 10 55

Compilation passes on the same system with no issue when switching to opennn version 6.0.0

leondavi commented 12 months ago

In data_set.cpp the cast of type is missing - this cause the compilation to fail: line 3001 (version 6.0.3): Screenshot 2023-05-25 at 2 11 37

@davidge807 if you can please add this fix to version 6.0.3 and close this issue.

davidge807 commented 12 months ago

Changed in OpenNN v6.0.4 (pre-release)!

Thanks for your aportation @leondavi