Skip to content

Commit 4e3b07b

Browse files
committed
Merge branch 'devel' of github.com:maxlin-ipp/psydac-for-struphy into devel
2 parents 1dd2263 + 24b0155 commit 4e3b07b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

psydac/feec/tests/test_global_projectors.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,8 +220,8 @@ def test_derham_projector_2d_hcurl(ncells, degree, periodic, multiplicity):
220220
P0, P1, P2, PX = derham_h.projectors()
221221

222222
# Function to project
223-
f1 = lambda xi1, xi2 : np.sin( TWO_PI * (xi1 + 0.5) ) * np.cos( xi2 + 0.3 )
224-
f2 = lambda xi1, xi2 : np.cos( xi1 + 0.5 ) * np.sin( xi2 - 0.2 )
223+
f1 = lambda xi1, xi2 : np.sin( TWO_PI*(xi1 + 0.5) ) * np.cos( TWO_PI*(xi2 + 0.3) )
224+
f2 = lambda xi1, xi2 : np.cos( TWO_PI*(xi1 + 0.5) ) * np.sin( TWO_PI*(xi2 - 0.2) )
225225

226226
# Compute the projection
227227
u0 = P0(f1)

psydac/linalg/tests/test_stencil_matrix.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2180,7 +2180,7 @@ def test_stencil_matrix_2d_serial_backend_switch(dtype, n1, n2, p1, p2, s1, s2,
21802180

21812181
assert M.backend is backend
21822182
M.dot(x)
2183-
M.set_backend(backend2, precompiled=True)
2183+
M.set_backend(backend2, precompiled=False)
21842184

21852185
assert M.backend is backend2
21862186
M.dot(x)

0 commit comments

Comments
 (0)