Skip to content

Commit

Permalink
Revert "dolfinx.jit.get_parameters was renamed to dolfinx.jit.get_opt…
Browse files Browse the repository at this point in the history
…ions"

This reverts commit 5e5d0b6.
  • Loading branch information
francesco-ballarin committed Nov 16, 2023
1 parent 46a7647 commit c3d573c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rbnicsx/_cpp/default_compiler_options_with_dolfinx.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def determine_default_compiler_options() -> typing.Dict[str, typing.Union[str, t
default_compiler_options["libraries"] = dolfinx_pc["libraries"]

# Output directory
jit_options = dolfinx.jit.get_options()
default_compiler_options["output_dir"] = str(jit_options["cache_dir"])
jit_parameters = dolfinx.jit.get_parameters()
default_compiler_options["output_dir"] = str(jit_parameters["cache_dir"])

return default_compiler_options

0 comments on commit c3d573c

Please sign in to comment.