Current code stores calculator quantities in REF_* keys, but then following code overwrites those keys even if they were the explicitly passed-in keys, not the values extracted from the calculator.
This PR fixes this bug, and also stores in _REF_*, following the (vague) convention that a key starting with _ is for internal use.
Current code stores calculator quantities in
REF_*
keys, but then following code overwrites those keys even if they were the explicitly passed-in keys, not the values extracted from the calculator.This PR fixes this bug, and also stores in
_REF_*
, following the (vague) convention that a key starting with_
is for internal use.