diff --git a/python/dune/perftool/pdelab/driver/timings.py b/python/dune/perftool/pdelab/driver/timings.py index b7cbaa9c4321531165d55f6cfa9df19c9dc18589..4ba2d8318de885030240adabcf3e9e139bb20524 100644 --- a/python/dune/perftool/pdelab/driver/timings.py +++ b/python/dune/perftool/pdelab/driver/timings.py @@ -134,11 +134,11 @@ def apply_jacobian_timer(): if is_linear(): declaration = ["{} j({});".format(t_v, v), "j=0.0;"] - evaluation = ["{}.jacobian_apply({}, j);".format(n_go, v),] + evaluation = ["{}.jacobian_apply({}, j);".format(n_go, v)] else: declaration = ["{} j0({});".format(t_v, v), "j0=0.0;", "{} j1({});".format(t_v, v), "j1=0.0;"] - evaluation = ["{}.nonlinear_jacobian_apply({}, j0, j1);".format(n_go, v),] + evaluation = ["{}.nonlinear_jacobian_apply({}, j0, j1);".format(n_go, v)] if get_option('instrumentation_level') >= 2: evaluation = ["HP_TIMER_START(apply_jacobian);"] + evaluation + ["HP_TIMER_STOP(apply_jacobian);", "DUMP_TIMER({}, apply_jacobian, {}, true);".format(get_option("instrumentation_level"), timestream)]