Fix decimal handling for Melcor floats based on DECIMAL_1.
authorW. Trevor King <wking@drexel.edu>
Mon, 23 Jan 2012 19:06:31 +0000 (14:06 -0500)
committerW. Trevor King <wking@drexel.edu>
Mon, 23 Jan 2012 19:06:31 +0000 (14:06 -0500)
commitea31636cb3bc16e97783a2ba3595314a55f90e9f
tree2c3fb9c44ca5f5884cfcfcd892cf5503cf6f38fe
parent3753e61337525d67a18080c28a9a3e6bb7eaebfd
Fix decimal handling for Melcor floats based on DECIMAL_1.

The previous (buggy) implementation was confusing register.decimal and
MelcorBackend._decimal, leading to
  UnboundLocalError: local variable 'decimal' referenced before assignment
pypid/backend/melcor.py