diff --git a/loopy/target/c/codegen/expression.py b/loopy/target/c/codegen/expression.py index 0c25d5380ff24d2444967c47a2950ea8bf5dffa0..d54640b5d8e277be32f9314db1453a05f9097a08 100644 --- a/loopy/target/c/codegen/expression.py +++ b/loopy/target/c/codegen/expression.py @@ -373,7 +373,7 @@ class LoopyCCodeMapper(RecursiveMapper): # This made it through type 'guessing' above, and it # was concluded above (search for COMPLEX_GUESS_LOGIC), # that nothing was lost by using single precision. - cast_type = "cfloat_t" + cast_type = "cfloat" else: if dtype == np.complex128: cast_type = "cdouble" diff --git a/loopy/version.py b/loopy/version.py index 60f16185df94611d32c45691aed70987cc6a8119..71911e9570f3e404c9c2fe64a479f8d97259906d 100644 --- a/loopy/version.py +++ b/loopy/version.py @@ -25,4 +25,4 @@ VERSION = (2014, 1) VERSION_STATUS = "" VERSION_TEXT = ".".join(str(x) for x in VERSION) + VERSION_STATUS -DATA_MODEL_VERSION = "v7" +DATA_MODEL_VERSION = "v8"