We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 382bc39 commit 0979b49Copy full SHA for 0979b49
ffcx/codegeneration/utils.py
@@ -21,7 +21,7 @@ def dtype_to_c_type(dtype: typing.Union[_npt.DTypeLike, str]) -> str:
21
Corresponding C type.
22
"""
23
# Note: Possible aliases, e.g. numpy.longdouble, should test against char ID
24
- if np.dtype(dtype).charg == "g":
+ if np.dtype(dtype).char == "g":
25
return "long double"
26
if np.dtype(dtype) == np.intc:
27
return "int"
0 commit comments