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 5733880 commit 37ea4ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion enzyme/Enzyme/GradientUtils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5744,7 +5744,7 @@ 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 37ea4ba

Please sign in to comment.