Skip to content

Commit

Permalink
Update GradientUtils.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
wsmoses authored Sep 1, 2024
1 parent 37ea4ba commit c810a63
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion enzyme/Enzyme/GradientUtils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5744,7 +5744,8 @@ Value *GradientUtils::invertPointerM(Value *const oval, IRBuilder<> &BuilderM,
if (!isa<UndefValue>(op) && !isa<ConstantPointerNull>(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,
Expand Down

0 comments on commit c810a63

Please sign in to comment.