You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are also analogous lookups going the other direction, from enum->string/char. This is dangerous and not type-safe. This should be replaced with some templatized lookup functions, perhaps like https://github.com/andrewstephens75/EnumMapping
Currently there are many places with code like
or
std::string operator_species_s; line_stream >> operator_species_s; basis::OperatorTypePN operator_species = kCharCodeOperatorTypePN.at(operator_species_s);
There are also analogous lookups going the other direction, from enum->string/char. This is dangerous and not type-safe. This should be replaced with some templatized lookup functions, perhaps like https://github.com/andrewstephens75/EnumMapping
This probably belongs in https://github.com/nd-nuclear-theory/mcutils
The text was updated successfully, but these errors were encountered: