diff --git a/enzyme/Enzyme/GradientUtils.cpp b/enzyme/Enzyme/GradientUtils.cpp index 04d1f38a9d6..3fef9ef6080 100644 --- a/enzyme/Enzyme/GradientUtils.cpp +++ b/enzyme/Enzyme/GradientUtils.cpp @@ -5744,7 +5744,7 @@ 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,