Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests are broken with the latest Firedrake #20

Open
IvanYashchuk opened this issue Nov 12, 2023 · 1 comment
Open

Tests are broken with the latest Firedrake #20

IvanYashchuk opened this issue Nov 12, 2023 · 1 comment

Comments

@IvanYashchuk
Copy link
Owner

=========================== short test summary info ============================
FAILED tests/firedrake_backend/test_assemble.py::test_vjp_assemble_eval - RuntimeError: Type unknown to numpy-fem-adjoint <class 'firedrake.cofunction.Cofunction'>
FAILED tests/firedrake_backend/test_assemble.py::test_jvp_assemble_eval - assert False
 +  where False = <function allclose at 0x7fd306e29990>(((0.024212965604809494 + -8.09023992310551e-16) + 0.22875878764471225), array(0.02421297))
 +    where <function allclose at 0x7fd306e29990> = np.allclose
FAILED tests/firedrake_backend/test_bcs.py::test_firedrake_vjp - TypeError: unsupported operand type(s) for +=: 'Cofunction' and 'Function'
FAILED tests/firedrake_backend/test_solve.py::test_firedrake_vjp - TypeError: ufunc 'isfinite' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe''
FAILED tests/firedrake_backend/test_solve.py::test_firedrake_jvp - RuntimeError: Type unknown to numpy-fem-adjoint <class 'NoneType'>
============ 5 failed, 12 passed, 3 xfailed, 272 warnings in 9.04s =============
@IvanYashchuk
Copy link
Owner Author

The following test tests/firedrake_backend/test_solve.py::test_firedrake_vjp - TypeError: ufunc 'isfinite' not supported fails because Firedrake started to return None for Constant's adj_value. See firedrakeproject/firedrake#3227.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant