diff options
author | Geoffrey Blake <Geoffrey.Blake@arm.com> | 2015-02-03 14:25:07 -0500 |
---|---|---|
committer | Geoffrey Blake <Geoffrey.Blake@arm.com> | 2015-02-03 14:25:07 -0500 |
commit | 3e33786db86c894b0e34bf018cbce412f9807447 (patch) | |
tree | 8be8acb97aa2ba781e8f3c639dba523e62a50a73 /src/python/m5 | |
parent | ca131a41960a43dc37410664d2a36350bc1d32b0 (diff) | |
download | gem5-3e33786db86c894b0e34bf018cbce412f9807447.tar.xz |
config: Fix typo in Float param
The Float param was not settable on the command line
due to a typo in the class definition in
python/m5/params.py. This corrects the typo and allows
floats to be set on the command line as intended.
Diffstat (limited to 'src/python/m5')
-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 b7df7c660..7dc443b2d 100644 --- a/src/python/m5/params.py +++ b/src/python/m5/params.py @@ -638,7 +638,7 @@ class Cycles(CheckedInt): class Float(ParamValue, float): cxx_type = 'double' - cmdLineSettable = True + cmd_line_settable = True def __init__(self, value): if isinstance(value, (int, long, float, NumericParamValue, Float, str)): |