Skip to content

Commit 82f76e0

Browse files
Contraint T template parameter to INumberBase instead of INumber
1 parent 59a920d commit 82f76e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

csharp/Platform.Numbers/Bit[T].cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ namespace Platform.Numbers
1313
/// <para>Represents a set of compiled bit operations delegates.</para>
1414
/// <para>Представляет набор скомпилированных делегатов битовых операций.</para>
1515
/// </summary>
16-
public static class Bit<T> where T : INumber<T>, IShiftOperators<T, int, T> , IBitwiseOperators<T, T, T>, IMinMaxValue<T>
16+
public static class Bit<T> where T : INumberBase<T>, IShiftOperators<T, int, T> , IBitwiseOperators<T, T, T>, IMinMaxValue<T>
1717
{
1818
private static int BitsSize = NumericType<T>.BitsSize;
1919

0 commit comments

Comments
 (0)