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.
This commit is contained in:
parent
ca131a4196
commit
3e33786db8
1 changed files with 1 additions and 1 deletions
|
@ -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)):
|
||||
|
|
Loading…
Reference in a new issue