Skip to content
Snippets Groups Projects
Commit 6c2f57c4 authored by Kaushik Kulkarni's avatar Kaushik Kulkarni
Browse files

revert special-casing for conj, now that pytato's fixed

parent 8a795ad0
No related branches found
No related tags found
No related merge requests found
...@@ -184,11 +184,7 @@ def test_array_context_np_workalike(actx_factory, sym_name, n_args): ...@@ -184,11 +184,7 @@ def test_array_context_np_workalike(actx_factory, sym_name, n_args):
actx = actx_factory() actx = actx_factory()
ndofs = 5000 ndofs = 5000
if sym_name == "conj": args = [np.random.randn(ndofs) for i in range(n_args)]
args = [np.random.randn(ndofs) + np.random.randn(ndofs)*1j
for i in range(n_args)]
else:
args = [np.random.randn(ndofs) for i in range(n_args)]
assert_close_to_numpy_in_containers( assert_close_to_numpy_in_containers(
actx, lambda _np, *_args: getattr(_np, sym_name)(*_args), args) actx, lambda _np, *_args: getattr(_np, sym_name)(*_args), args)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment