Skip to content

Commit 0979b49

Browse files
committed
Typo fix
1 parent 382bc39 commit 0979b49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ffcx/codegeneration/utils.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def dtype_to_c_type(dtype: typing.Union[_npt.DTypeLike, str]) -> str:
2121
Corresponding C type.
2222
"""
2323
# Note: Possible aliases, e.g. numpy.longdouble, should test against char ID
24-
if np.dtype(dtype).charg == "g":
24+
if np.dtype(dtype).char == "g":
2525
return "long double"
2626
if np.dtype(dtype) == np.intc:
2727
return "int"

0 commit comments

Comments
 (0)