bgrimstad / splinter

Library for multivariate function approximation with splines (B-spline, P-spline, and more) with interfaces to C++, C, Python and MATLAB
Mozilla Public License 2.0
419 stars 115 forks source link

c++17 static_assert call changed to c++11 compatible one #109

Closed TimoFischer closed 6 years ago

TimoFischer commented 6 years ago

Minimal change that caused a non-building code to compile: CMakeLists seems to configure for c++11, but the call to static_assert( condition ) is c++17. Changed to static_assert( condition, message ), which is c++11.

bgrimstad commented 6 years ago

Thank you for fixing this compatibility issue.