Skip to content

Commit

Permalink
test both with and without preallocate
Browse files Browse the repository at this point in the history
  • Loading branch information
valentinsulzer committed May 26, 2022
1 parent b71c20b commit 3cd7388
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def evaluate_and_test_equal(
p = list(inputs.values())

pybamm_eval = expr.evaluate(t=t_tests[0], y=y_tests[0], inputs=inputs).flatten()
for preallocate in [False]: # [True, False]:
for preallocate in [True, False]:
kwargs["funcname"] = (
kwargs.get("funcname", "f") + "_" + str(int(preallocate))
)
Expand Down

0 comments on commit 3cd7388

Please sign in to comment.