Skip to content

Commit

Permalink
dolfinx.pkgconfig.exists is now correctly typed
Browse files Browse the repository at this point in the history
  • Loading branch information
francesco-ballarin committed Jul 6, 2023
1 parent ff796df commit 75d0878
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rbnicsx/_cpp/default_compiler_options_with_dolfinx.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def determine_default_compiler_options() -> typing.Dict[str, typing.Union[str, t
("dolfinx", "dolfinx_real", "dolfinx_complex"),
(True, not has_petsc_complex, has_petsc_complex)
):
if dolfinx.pkgconfig.exists(dolfinx_pc_package) and scalar_type_check: # type: ignore[no-untyped-call]
if dolfinx.pkgconfig.exists(dolfinx_pc_package) and scalar_type_check:
dolfinx_pc.update(dolfinx.pkgconfig.parse(dolfinx_pc_package)) # type: ignore[no-untyped-call]
break
assert len(dolfinx_pc) > 0
Expand Down

0 comments on commit 75d0878

Please sign in to comment.