fix bug + regression test
Merge pull request #156 from keflavich/preserve_float_bugfix

Minor bugfix regarding nansum