Fix segmented_regression.hpp to be compatible with Visual Studio 2015
- Remove duplicate
cmath
header include - Replace
and
keyword with&&
operator - Replace designated initializer (supported in
C
but notC++
) with brace initializer - Define
_USE_MATH_DEFINES
on build to includeM_PI
definition