Skip to content
Snippets Groups Projects
Commit eb086f1f authored by Norihiro Watanabe's avatar Norihiro Watanabe
Browse files

fix a compiler warning. the function should always return non-void value.

parent 831a39aa
No related branches found
No related tags found
No related merge requests found
...@@ -55,9 +55,8 @@ std::pair<double, double> GaussLegendre::getPoint(unsigned n_sample_points, unsi ...@@ -55,9 +55,8 @@ std::pair<double, double> GaussLegendre::getPoint(unsigned n_sample_points, unsi
return std::make_pair(-0.861136311594053, 0.347854845137454); return std::make_pair(-0.861136311594053, 0.347854845137454);
} }
break; break;
default:
return std::make_pair(0.0, 0.0);
} }
return std::make_pair(0.0, 0.0);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment