m-a-d-n-e-s-s / madness

Multiresolution Adaptive Numerical Environment for Scientific Simulation
GNU General Public License v2.0
181 stars 62 forks source link

Fixes problem with setting units to au or Bohr #530

Open ahurta92 opened 8 months ago

ahurta92 commented 8 months ago

If using au or bohr the set_derived_value would fail when type checking bare "atomic" in function call. std::string("atomic") ensures type checking will not fail.

ahurta92 commented 8 months ago

@robertjharrison Quick change

JonathonMisiewicz commented 8 months ago

@ahurta92 Rebase onto master so tests pass.