From 705524397c3e44802835f26aef0c945944255bfd Mon Sep 17 00:00:00 2001 From: ioannisPApapadopoulos Date: Fri, 28 Jun 2024 13:52:29 +0200 Subject: [PATCH] fix tests --- test/test_annulus.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test_annulus.jl b/test/test_annulus.jl index 4b2cf80..2c58b1e 100644 --- a/test/test_annulus.jl +++ b/test/test_annulus.jl @@ -1,7 +1,7 @@ using Test, AnnuliOrthogonalPolynomials, ClassicalOrthogonalPolynomials, SemiclassicalOrthogonalPolynomials, LinearAlgebra import ForwardDiff: derivative, hessian, gradient import AnnuliOrthogonalPolynomials: ZernikeAnnulusTransform, ZernikeAnnulusITransform, plotgrid, plotvalues, AnnulusWeight, copy -import BlockArrays: PseudoBlockArray, blockcolsupport +import BlockArrays: BlockArray, blockcolsupport import SemiclassicalOrthogonalPolynomials: HalfWeighted import LazyArrays: Ones @@ -192,7 +192,7 @@ import LazyArrays: Ones T = ZernikeAnnulusTransform{Float64}(N,0,0,0,0.5) Ti = ZernikeAnnulusITransform{Float64}(N,0,0,0,0.5) - v = PseudoBlockArray(randn(sum(1:N)),1:N) + v = BlockArray(randn(sum(1:N)),1:N) @test T * (Ti * v) ≈ v @test_throws MethodError T * randn(15)