diff --git a/dace/libraries/blas/nodes/gemm.py b/dace/libraries/blas/nodes/gemm.py index 6c1dd2c9b9..90dbe4dc38 100644 --- a/dace/libraries/blas/nodes/gemm.py +++ b/dace/libraries/blas/nodes/gemm.py @@ -34,7 +34,7 @@ def _cast_to_dtype_str(value, dtype: dace.dtypes.typeclass) -> str: imag=cast_value.imag, ) else: - return "dace.{}({})".format(dace.dtype_to_typeclass(dtype).to_string(), value) + return "dace.{}({})".format(dtype.to_string(), value) @dace.library.expansion