From fd3296282907f45438ac258d7e0806243c6ac292 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lars=20G=C3=B6ttgens?= Date: Wed, 8 May 2024 18:15:33 +0200 Subject: [PATCH] Adapt test to prevent issue 651 (#1748) --- Project.toml | 2 +- test/arb/ComplexMat-test.jl | 2 +- test/arb/RealMat-test.jl | 2 +- test/arb/acb_mat-test.jl | 2 +- test/arb/arb_mat-test.jl | 2 +- test/flint/fmpq_mat-test.jl | 2 +- test/flint/fmpz_mat-test.jl | 2 +- test/flint/fq_default_mat-test.jl | 2 +- test/flint/fq_mat-test.jl | 2 +- test/flint/fq_nmod_mat-test.jl | 2 +- test/flint/gfp_mat-test.jl | 2 +- test/flint/nmod_mat-test.jl | 2 +- 12 files changed, 12 insertions(+), 12 deletions(-) diff --git a/Project.toml b/Project.toml index 1c053f6ebc..c0fc00cc32 100644 --- a/Project.toml +++ b/Project.toml @@ -1,6 +1,6 @@ name = "Nemo" uuid = "2edaba10-b0f1-5616-af89-8c11ac63239a" -version = "0.45.0" +version = "0.45.1" [deps] AbstractAlgebra = "c3fe647b-3220-5bb0-a1ea-a7954cac585d" diff --git a/test/arb/ComplexMat-test.jl b/test/arb/ComplexMat-test.jl index 242ed56e90..2cf02fd553 100644 --- a/test/arb/ComplexMat-test.jl +++ b/test/arb/ComplexMat-test.jl @@ -122,7 +122,7 @@ end end # issue #651 - m = one(Generic.MatSpace{ComplexFieldElem}(CC, 2, 2)) + m = one(Generic.MatSpaceElem{ComplexFieldElem}(CC, 2, 2)) for n = (m, -m, m*m, m+m, 2m) @test n isa Generic.MatSpaceElem{ComplexFieldElem} end diff --git a/test/arb/RealMat-test.jl b/test/arb/RealMat-test.jl index e6275886ed..ee148c3936 100644 --- a/test/arb/RealMat-test.jl +++ b/test/arb/RealMat-test.jl @@ -121,7 +121,7 @@ end end # issue #651 - m = one(Generic.MatSpace{RealFieldElem}(RR, 2, 2)) + m = one(Generic.MatSpaceElem{RealFieldElem}(RR, 2, 2)) for n = (m, -m, m*m, m+m, 2m) @test n isa Generic.MatSpaceElem{RealFieldElem} end diff --git a/test/arb/acb_mat-test.jl b/test/arb/acb_mat-test.jl index 685196adb7..26890f1fdb 100644 --- a/test/arb/acb_mat-test.jl +++ b/test/arb/acb_mat-test.jl @@ -122,7 +122,7 @@ end end # issue #651 - m = one(Generic.MatSpace{AcbFieldElem}(CC, 2, 2)) + m = one(Generic.MatSpaceElem{AcbFieldElem}(CC, 2, 2)) for n = (m, -m, m*m, m+m, 2m) @test n isa Generic.MatSpaceElem{AcbFieldElem} end diff --git a/test/arb/arb_mat-test.jl b/test/arb/arb_mat-test.jl index 4351840786..f361401b48 100644 --- a/test/arb/arb_mat-test.jl +++ b/test/arb/arb_mat-test.jl @@ -121,7 +121,7 @@ end end # issue #651 - m = one(Generic.MatSpace{ArbFieldElem}(RR, 2, 2)) + m = one(Generic.MatSpaceElem{ArbFieldElem}(RR, 2, 2)) for n = (m, -m, m*m, m+m, 2m) @test n isa Generic.MatSpaceElem{ArbFieldElem} end diff --git a/test/flint/fmpq_mat-test.jl b/test/flint/fmpq_mat-test.jl index 85ebfd7b4a..c23b18a8d7 100644 --- a/test/flint/fmpq_mat-test.jl +++ b/test/flint/fmpq_mat-test.jl @@ -147,7 +147,7 @@ end end # issue #651 - m = one(Generic.MatSpace{QQFieldElem}(QQ, 2, 2)) + m = one(Generic.MatSpaceElem{QQFieldElem}(QQ, 2, 2)) for n = (m, -m, m*m, m+m, 2m) @test n isa Generic.MatSpaceElem{QQFieldElem} end diff --git a/test/flint/fmpz_mat-test.jl b/test/flint/fmpz_mat-test.jl index d57171c7b0..a6087bcb1c 100644 --- a/test/flint/fmpz_mat-test.jl +++ b/test/flint/fmpz_mat-test.jl @@ -111,7 +111,7 @@ end end # issue #651 - m = one(Generic.MatSpace{ZZRingElem}(ZZ, 2, 2)) + m = one(Generic.MatSpaceElem{ZZRingElem}(ZZ, 2, 2)) for n = (m, -m, m*m, m+m, 2m) @test n isa Generic.MatSpaceElem{ZZRingElem} end diff --git a/test/flint/fq_default_mat-test.jl b/test/flint/fq_default_mat-test.jl index 7c71947f0a..11baef4f19 100644 --- a/test/flint/fq_default_mat-test.jl +++ b/test/flint/fq_default_mat-test.jl @@ -200,7 +200,7 @@ end end # issue #651 - m = one(Generic.MatSpace{FqFieldElem}(F9, 2, 2)) + m = one(Generic.MatSpaceElem{FqFieldElem}(F9, 2, 2)) for n = (m, -m, m*m, m+m, 2m) @test n isa Generic.MatSpaceElem{FqFieldElem} end diff --git a/test/flint/fq_mat-test.jl b/test/flint/fq_mat-test.jl index 6314f929da..81223c700b 100644 --- a/test/flint/fq_mat-test.jl +++ b/test/flint/fq_mat-test.jl @@ -191,7 +191,7 @@ end end # issue #651 - m = one(Generic.MatSpace{FqPolyRepFieldElem}(F9, 2, 2)) + m = one(Generic.MatSpaceElem{FqPolyRepFieldElem}(F9, 2, 2)) for n = (m, -m, m*m, m+m, 2m) @test n isa Generic.MatSpaceElem{FqPolyRepFieldElem} end diff --git a/test/flint/fq_nmod_mat-test.jl b/test/flint/fq_nmod_mat-test.jl index 1a785c43ed..be17f8ca77 100644 --- a/test/flint/fq_nmod_mat-test.jl +++ b/test/flint/fq_nmod_mat-test.jl @@ -191,7 +191,7 @@ end end # issue #651 - m = one(Generic.MatSpace{fqPolyRepFieldElem}(F9, 2, 2)) + m = one(Generic.MatSpaceElem{fqPolyRepFieldElem}(F9, 2, 2)) for n = (m, -m, m*m, m+m, 2m) @test n isa Generic.MatSpaceElem{fqPolyRepFieldElem} end diff --git a/test/flint/gfp_mat-test.jl b/test/flint/gfp_mat-test.jl index 02e3091f91..0f4db4a131 100644 --- a/test/flint/gfp_mat-test.jl +++ b/test/flint/gfp_mat-test.jl @@ -195,7 +195,7 @@ end end # issue #651 - m = one(Generic.MatSpace{Nemo.fpFieldElem}(Z13, 2, 2)) + m = one(Generic.MatSpaceElem{Nemo.fpFieldElem}(Z13, 2, 2)) for n = (m, -m, m*m, m+m, 2m) @test n isa Generic.MatSpaceElem{Nemo.fpFieldElem} end diff --git a/test/flint/nmod_mat-test.jl b/test/flint/nmod_mat-test.jl index 75951e8cac..8e35a0b641 100644 --- a/test/flint/nmod_mat-test.jl +++ b/test/flint/nmod_mat-test.jl @@ -191,7 +191,7 @@ end end # issue #651 - m = one(Generic.MatSpace{Nemo.zzModRingElem}(Z13, 2, 2)) + m = one(Generic.MatSpaceElem{Nemo.zzModRingElem}(Z13, 2, 2)) for n = (m, -m, m*m, m+m, 2m) @test n isa Generic.MatSpaceElem{Nemo.zzModRingElem} end