From 3e33786db86c894b0e34bf018cbce412f9807447 Mon Sep 17 00:00:00 2001 From: Geoffrey Blake Date: Tue, 3 Feb 2015 14:25:07 -0500 Subject: 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. --- src/python/m5/params.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/python/m5') 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)): -- cgit v1.2.3