Fix type in SphericalHarmonicsFilter::set_cosine

Co-Authored-By: Amanda Lund <alund@anl.gov>
This commit is contained in:
Paul Romano 2019-07-16 11:01:36 -05:00 committed by GitHub
parent 88b28c6ff4
commit 86dcdf75ed
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -37,7 +37,7 @@ SphericalHarmonicsFilter::set_cosine(gsl::cstring_span cosine)
cosine_ = SphericalHarmonicsCosine::particle;
} else {
std::stringstream err_msg;
err_msg << "Unrecognized cosine type, \"" << cos
err_msg << "Unrecognized cosine type, \"" << cosine
<< "\" in spherical harmonics filter";
throw std::invalid_argument{err_msg.str()};
}