From 4afdc40d70db76d895cc9bfe6bf3786d379589b7 Mon Sep 17 00:00:00 2001 From: Nathan Binkert Date: Sat, 14 Jun 2008 20:42:45 -0700 Subject: params: Fix the memory bandwidth parameter --- src/python/m5/params.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/python') diff --git a/src/python/m5/params.py b/src/python/m5/params.py index c8d0d8f46..938278541 100644 --- a/src/python/m5/params.py +++ b/src/python/m5/params.py @@ -892,7 +892,7 @@ class NetworkBandwidth(float,ParamValue): class MemoryBandwidth(float,ParamValue): cxx_type = 'float' - def __new__(self, value): + def __new__(cls, value): # we want the number of ticks per byte of data val = convert.toMemoryBandwidth(value) return super(cls, MemoryBandwidth).__new__(cls, val) -- cgit v1.2.3