Skip to content

Commit

Permalink
fix: name
Browse files Browse the repository at this point in the history
  • Loading branch information
Tiphereth-A committed Jan 12, 2024
1 parent 24da6d0 commit cc95a9a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/code/math/mdata_ds.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class mdata_ds {
constexpr raw_type val() const { return v_; }
constexpr sraw_type sval() const { return (sraw_type)v_; }
constexpr raw_type &data() { return v_; }
constexpr mdata_ds operator-() const { return mint_ds() - *this; }
constexpr mdata_ds operator-() const { return mdata_ds() - *this; }
constexpr mdata_ds &operator+=(mdata_ds const &r) {
v_ += r.v_;
if (v_ >= mod()) v_ -= mod();
Expand Down
2 changes: 1 addition & 1 deletion src/code/math/mdata_ss.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class mdata_ss {
constexpr raw_type val() const { return v_; }
constexpr sraw_type sval() const { return (sraw_type)v_; }
constexpr raw_type &data() { return v_; }
constexpr mint_ss operator-() const { return mint_ss() - *this; }
constexpr mdata_ss operator-() const { return mdata_ss() - *this; }
constexpr mdata_ss &operator+=(mdata_ss const &r) {
v_ += r.v_;
if (v_ >= mod()) v_ -= mod();
Expand Down

0 comments on commit cc95a9a

Please sign in to comment.