changeset cefb03a42760 in /z/repo/gem5
details: http://repo.gem5.org/gem5?cmd=changeset;node=cefb03a42760
description:
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:
src/python/m5/params.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r e17949745150 -r cefb03a42760 src/python/m5/params.py
--- a/src/python/m5/params.py Fri Jan 30 15:49:34 2015 -0600
+++ b/src/python/m5/params.py Tue Feb 03 14:25:07 2015 -0500
@@ -638,7 +638,7 @@
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)):
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev