Skip to content

Commit

Permalink
Contraint T template parameter to INumberBase instead of INumber
Browse files Browse the repository at this point in the history
  • Loading branch information
FreePhoenix888 committed Dec 29, 2022
1 parent 59a920d commit 82f76e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion csharp/Platform.Numbers/Bit[T].cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ namespace Platform.Numbers
/// <para>Represents a set of compiled bit operations delegates.</para>
/// <para>Представляет набор скомпилированных делегатов битовых операций.</para>
/// </summary>
public static class Bit<T> where T : INumber<T>, IShiftOperators<T, int, T> , IBitwiseOperators<T, T, T>, IMinMaxValue<T>
public static class Bit<T> where T : INumberBase<T>, IShiftOperators<T, int, T> , IBitwiseOperators<T, T, T>, IMinMaxValue<T>
{
private static int BitsSize = NumericType<T>.BitsSize;

Expand Down

0 comments on commit 82f76e0

Please sign in to comment.