Skip to content

Commit

Permalink
Ooops, looks like I messed up the rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
JDBetteridge committed May 15, 2023
1 parent 96a54b9 commit b2ff4b1
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions firedrake/pointquery_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,15 +146,12 @@ def to_reference_coords_newton_step(ufl_coordinate_element, parameters, x0_dtype
x0_expr = builder._coefficient(x0, "x0")
loopy_args = [
lp.GlobalArg(
"C", dtype=ScalarType, shape=(numpy.prod(Cexpr.shape, dtype=int),)),
"C", dtype=ScalarType, shape=(numpy.prod(Cexpr.shape, dtype=int),)
),
lp.GlobalArg(
"x0", dtype=x0_dtype, shape=(numpy.prod(x0_expr.shape, dtype=int),))]

loopy_args = [
lp.GlobalArg(
"C", dtype=ScalarType_c, shape=(numpy.prod(Cexpr.shape, dtype=int),)),
lp.GlobalArg(
"x0", dtype=ScalarType, shape=(numpy.prod(x0_expr.shape, dtype=int),))]
"x0", dtype=x0_dtype, shape=(numpy.prod(x0_expr.shape, dtype=int),)
),
]

dim = cell.topological_dimension()
point = gem.Variable('X', (dim,))
Expand Down

0 comments on commit b2ff4b1

Please sign in to comment.