summaryrefslogtreecommitdiff
path: root/src/python
diff options
context:
space:
mode:
authorNathan Binkert <binkertn@umich.edu>2007-05-11 11:48:58 -0700
committerNathan Binkert <binkertn@umich.edu>2007-05-11 11:48:58 -0700
commit113319a7da9fe442f4f765b76c5728974824f2cc (patch)
tree7b5b4b5e95f39d69487e907b87aa48e180c7d8cc /src/python
parentd667ce01b488e505569d6dce253f97e4246851cf (diff)
downloadgem5-113319a7da9fe442f4f765b76c5728974824f2cc.tar.xz
Float should have a c++ param type
--HG-- extra : convert_revision : 150bbe7f31aafb43a75195fc2a365fb3c0ec5673
Diffstat (limited to 'src/python')
-rw-r--r--src/python/m5/params.py2
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'