From: Geoffrey Blake Date: Tue, 3 Feb 2015 19:25:07 +0000 (-0500) Subject: config: Fix typo in Float param X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3e33786db86c894b0e34bf018cbce412f9807447;p=gem5.git 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. --- 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)):