Skip to content

Commit

Permalink
Merge pull request #204 from kroma-network/fix/fix-batch-inverse-bug-…
Browse files Browse the repository at this point in the history
…on-parallel

fix(math): fix batch inverse bug on parallel
  • Loading branch information
chokobole authored Dec 17, 2023
2 parents c212219 + 0fa84bd commit 60f0aea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tachyon/math/base/groups.h
Original file line number Diff line number Diff line change
Expand Up @@ -131,11 +131,11 @@ class MultiplicativeGroup : public MultiplicativeSemigroup<G> {
const auto& [fields_chunk, inverses_chunk] = zipped_vector[i];
DoBatchInverse(fields_chunk, inverses_chunk, coeff);
}
return true;
}
#else
#endif
DoBatchInverse(absl::MakeConstSpan(groups), absl::MakeSpan(*inverses),
coeff);
#endif
return true;
}

Expand Down

0 comments on commit 60f0aea

Please sign in to comment.