From 6870f34ebd4be97a63cfb24e6dbb2a0a4592c025 Mon Sep 17 00:00:00 2001 From: Huayi Wei Date: Fri, 30 Apr 2021 18:43:15 +0800 Subject: [PATCH] update --- test/buildtest/PoissonFEMWithDirichletBC_test.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/test/buildtest/PoissonFEMWithDirichletBC_test.py b/test/buildtest/PoissonFEMWithDirichletBC_test.py index 971975e96..ead2546b3 100755 --- a/test/buildtest/PoissonFEMWithDirichletBC_test.py +++ b/test/buildtest/PoissonFEMWithDirichletBC_test.py @@ -33,10 +33,7 @@ def test_poisson_fem_2d(): bc = DirichletBC(space, pde.dirichlet) uh = space.function() - if dim == 2: - A = space.stiff_matrix() - elif dim == 3: - A = space.parallel_stiff_matrix(q=p) + A = space.stiff_matrix() F = space.source_vector(pde.source)