Skip to content

Commit

Permalink
Fixed deliberately broken tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kvrigor committed Oct 24, 2024
1 parent 85f869d commit 5567cf7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion psydac/api/tests/test_2d_biharmonic.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def run_biharmonic_2d_dir(solution, f, dir_zero_boundary, ncells, degree, backen
uh = equation_h.solve()

# Compute error norms
l2_error = l2norm_h.assemble(u=uh) + 1
l2_error = l2norm_h.assemble(u=uh)
h1_error = h1norm_h.assemble(u=uh)
h2_error = h2norm_h.assemble(u=uh)

Expand Down
2 changes: 1 addition & 1 deletion psydac/api/tests/test_2d_laplace.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def run_laplace_2d(solution, f, dir_zero_boundary, dir_nonzero_boundary,
uh = equation_h.solve()

# Compute error norms
l2_error = l2norm_h.assemble(u=uh) + 1
l2_error = l2norm_h.assemble(u=uh)
h1_error = h1norm_h.assemble(u=uh)

return l2_error, h1_error
Expand Down

0 comments on commit 5567cf7

Please sign in to comment.