Skip to content

Commit

Permalink
new QuadratureElement
Browse files Browse the repository at this point in the history
  • Loading branch information
mscroggs committed Aug 14, 2023
1 parent 9fc09c7 commit ad60c6b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ffcx/analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

import basix.ufl
import ufl
from ffcx.element_interface import QuadratureElement, convert_element
from ffcx.element_interface import convert_element

logger = logging.getLogger("ffcx")

Expand Down Expand Up @@ -174,7 +174,7 @@ def _analyze_form(form: ufl.form.Form, options: typing.Dict) -> ufl.algorithms.f
custom_q = None
for e in form_data.unique_elements:
e = convert_element(e)
if isinstance(e, QuadratureElement):
if isinstance(e, basix.ufl._QuadratureElement):
if custom_q is None:
custom_q = e._points, e._weights
else:
Expand Down

0 comments on commit ad60c6b

Please sign in to comment.