diff options
Diffstat (limited to 'tests/generics/tparam_binding.nim')
-rw-r--r-- | tests/generics/tparam_binding.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/generics/tparam_binding.nim b/tests/generics/tparam_binding.nim index 55acb8f06..cd0d58e02 100644 --- a/tests/generics/tparam_binding.nim +++ b/tests/generics/tparam_binding.nim @@ -4,7 +4,7 @@ discard """ """ type - Matrix[M,N: static[int]; T: SomeReal] = distinct array[0..(M*N - 1), T] + Matrix[M,N: static[int]; T: SomeFloat] = distinct array[0..(M*N - 1), T] let a = new Matrix[2,2,float] let b = new Matrix[2,1,float] |