Merge branch 'fix/material-spline-law' into 'master'
[material][spline] Fix compiler error gcc
See merge request !2466 (merged)
(cherry picked from commit 9a163f67)
cf249782 [material][spline] Make lambda non-generic ea818ead [spline] Use less auto where the type is clear to unconfuse compiler