diff --git a/pyproject.toml b/pyproject.toml index 88906c2..9523311 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -48,7 +48,8 @@ dev = ["anybadge", "pytest", "pytest-coverage", "pytest-mypy", - "hatchling"] + "hatchling", + "memray"] [project.scripts] run_ssim = "varprodmdstatspy.varprodmd_ssim_performance:run_ssim" diff --git a/varprodmdstatspy/varprodmd_ssim_performance.py b/varprodmdstatspy/varprodmd_ssim_performance.py index 1d6d23d..fc3dafc 100644 --- a/varprodmdstatspy/varprodmd_ssim_performance.py +++ b/varprodmdstatspy/varprodmd_ssim_performance.py @@ -246,7 +246,7 @@ def run_ssim(): STD = [0, 1e-4, 1e-3, 1e-2] N_RUNS = 100 COMPS = [0, 0.4, 0.6, 0.8] - FCTS = list(fcts.keys) + FCTS = list(fcts.keys()) currentdir = os.path.dirname(os.path.abspath( inspect.getfile(inspect.currentframe())))