diff options
author | Nathan Binkert <binkertn@umich.edu> | 2007-05-11 11:48:58 -0700 |
---|---|---|
committer | Nathan Binkert <binkertn@umich.edu> | 2007-05-11 11:48:58 -0700 |
commit | 113319a7da9fe442f4f765b76c5728974824f2cc (patch) | |
tree | 7b5b4b5e95f39d69487e907b87aa48e180c7d8cc | |
parent | d667ce01b488e505569d6dce253f97e4246851cf (diff) | |
download | gem5-113319a7da9fe442f4f765b76c5728974824f2cc.tar.xz |
Float should have a c++ param type
--HG--
extra : convert_revision : 150bbe7f31aafb43a75195fc2a365fb3c0ec5673
-rw-r--r-- | src/python/m5/params.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/python/m5/params.py b/src/python/m5/params.py index da7ddd65e..88b162874 100644 --- a/src/python/m5/params.py +++ b/src/python/m5/params.py @@ -348,7 +348,7 @@ class UdpPort(CheckedInt): cxx_type = 'uint16_t'; size = 16; unsigned = True class Percent(CheckedInt): cxx_type = 'int'; min = 0; max = 100 class Float(ParamValue, float): - pass + cxx_type = 'double' class MemorySize(CheckedInt): cxx_type = 'uint64_t' |