• David Dotson's avatar
    Switched hartree ScaledUnit basis to joule · ad50ced2
    David Dotson authored
    From @peastman:
    
    > Test cases are failing. I believe it's because the parent for a ScaledUnit needs to be a Unit, not another ScaledUnit. So in the line
    >
    > ```
    >  hartree_base_unit = ScaledUnit(4.3597447222071e-18, joule_base_unit, "hartree", "Ha")
    > ```
    >
    > replace joule_base_unit with joule.
    ad50ced2
unit_definitions.py 13.2 KB