Skip to content

Error when running heat-equation.py example #122

@wearefor

Description

@wearefor

When running the fenics heat-equation.py example, I encounter the following error

Traceback (most recent call last):
File "heat-equation.py", line 45, in
(times, computed_states, u) = main(guess_ic, annotate=True)
File "heat-equation.py", line 29, in main
solve(F == 0, u_next, J=derivative(F, u_next), annotate=annotate)
File "/home/user/anaconda3/envs/fenics2019jaxadjoint/lib/python3.8/site-packages/fenics_adjoint/solving.py", line 47, in solve
block = solve_block_type(*args, ad_block_tag=ad_block_tag, **sb_kwargs)
TypeError: init() missing 1 required positional argument: 'b'

See attached for the complete output and list of packages installed:

error.txt
condaenv.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions