From c810a63beb3d2fe909a96158cb5eb2a693b88fd3 Mon Sep 17 00:00:00 2001 From: William Moses Date: Sun, 1 Sep 2024 00:04:55 -0500 Subject: [PATCH] Update GradientUtils.cpp --- enzyme/Enzyme/GradientUtils.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/enzyme/Enzyme/GradientUtils.cpp b/enzyme/Enzyme/GradientUtils.cpp index 3fef9ef6080..18afced8414 100644 --- a/enzyme/Enzyme/GradientUtils.cpp +++ b/enzyme/Enzyme/GradientUtils.cpp @@ -5744,7 +5744,8 @@ Value *GradientUtils::invertPointerM(Value *const oval, IRBuilder<> &BuilderM, if (!isa(op) && !isa(op)) { std::string str; raw_string_ostream ss(str); - ss << "Mismatched activity for: " << *arg << " const val: " << *op; + ss << "Mismatched activity for: " << *arg + << " const val: " << *op; if (CustomErrorHandler) ivops[i] = unwrap(CustomErrorHandler( str.c_str(), wrap(arg), ErrorType::MixedActivityError, this,