diff --git a/MathLib/Integration/GaussLegendre.cpp b/MathLib/Integration/GaussLegendre.cpp index ad59297730c2a247a35c9622ef4a73ca14311c98..78eff44aa1cf5d3911c4edcd9cb6e66cbdf044e1 100644 --- a/MathLib/Integration/GaussLegendre.cpp +++ b/MathLib/Integration/GaussLegendre.cpp @@ -55,9 +55,8 @@ std::pair<double, double> GaussLegendre::getPoint(unsigned n_sample_points, unsi return std::make_pair(-0.861136311594053, 0.347854845137454); } break; - default: - return std::make_pair(0.0, 0.0); } + return std::make_pair(0.0, 0.0); }