Skip to content

Commit

Permalink
Fix IDynamicModIntId
Browse files Browse the repository at this point in the history
  • Loading branch information
kzrnm committed Jan 25, 2023
1 parent b79ec99 commit a87a43c
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@
#if GENERIC_MATH
[System.Obsolete("Use generic math")]
#endif
public class DynamicModIntFenwickTree<T> : FenwickTree<DynamicModInt<T>, DynamicModIntOperator<T>> where T : struct, IDynamicModID { public DynamicModIntFenwickTree(int n) : base(n) { } }
public class DynamicModIntFenwickTree<T> : FenwickTree<DynamicModInt<T>, DynamicModIntOperator<T>> where T : struct { public DynamicModIntFenwickTree(int n) : base(n) { } }
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ namespace AtCoder
{
public class FenwickTreeGenericMathTest
{
private readonly struct ModID0 : IDynamicModID { }
private readonly struct ModID1 : IDynamicModID { }
private readonly struct ModID2 : IDynamicModID { }
private readonly struct ModID0 : IDynamicModIntId { }
private readonly struct ModID1 : IDynamicModIntId { }
private readonly struct ModID2 : IDynamicModIntId { }
private struct Mod11 : IStaticMod
{
public uint Mod => 11;
Expand Down
6 changes: 3 additions & 3 deletions Test/ac-library-csharp.Test/DataStructure/FenwickTreeTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ namespace AtCoder
#endif
public class FenwickTreeTest
{
private readonly struct ModID0 : IDynamicModID { }
private readonly struct ModID1 : IDynamicModID { }
private readonly struct ModID2 : IDynamicModID { }
private readonly struct ModID0 : IDynamicModIntId { }
private readonly struct ModID1 : IDynamicModIntId { }
private readonly struct ModID2 : IDynamicModIntId { }
private struct Mod11 : IStaticMod
{
public uint Mod => 11;
Expand Down
2 changes: 1 addition & 1 deletion Test/ac-library-csharp.Test/Math/DynamicModIDTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
{
public class DynamicModIDTest
{
internal struct DynamicModID : IDynamicModID { }
internal struct DynamicModID : IDynamicModIntId { }
}
}

0 comments on commit a87a43c

Please sign in to comment.