From: Nathan Binkert Date: Fri, 11 May 2007 18:48:58 +0000 (-0700) Subject: Float should have a c++ param type X-Git-Tag: m5_2.0_beta3~4^2~1 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=113319a7da9fe442f4f765b76c5728974824f2cc;p=gem5.git Float should have a c++ param type --HG-- extra : convert_revision : 150bbe7f31aafb43a75195fc2a365fb3c0ec5673 --- 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'