From 00172ec10b37735dd14da4e42d233274ab5f04e4 Mon Sep 17 00:00:00 2001 From: Houtan Bastani Date: Wed, 7 Aug 2019 10:44:11 -0400 Subject: [PATCH] change missed in `309326c372b140d4e6e459b2139d957c246c6512` --- src/macro/Expressions.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/macro/Expressions.hh b/src/macro/Expressions.hh index fc454b5f..099f6920 100644 --- a/src/macro/Expressions.hh +++ b/src/macro/Expressions.hh @@ -181,7 +181,7 @@ namespace macro virtual RealPtr normcdf() const { throw StackTrace("Operator `normcdf` does not exist for this type"); } virtual RealPtr normcdf(const BaseTypePtr &btp1, const BaseTypePtr &btp2) const { throw StackTrace("Operator `normcdf` does not exist for this type"); } virtual BoolPtr cast_bool() const { throw StackTrace("This type cannot be cast to a boolean"); } - virtual RealPtr cast_real() const { throw StackTrace("This type cannot be cast to a double"); } + virtual RealPtr cast_real() const { throw StackTrace("This type cannot be cast to a real"); } virtual StringPtr cast_string() const { throw StackTrace("This type cannot be cast to a string"); } virtual TuplePtr cast_tuple() const { throw StackTrace("This type cannot be cast to a tuple"); } virtual ArrayPtr cast_array() const { throw StackTrace("This type cannot be cast to an array"); }