Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ioannisPApapadopoulos committed Jun 28, 2024
1 parent 193cc1d commit 7055243
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_annulus.jl
Original file line number Diff line number Diff line change
@@ -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

Expand Down Expand Up @@ -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)

Expand Down

0 comments on commit 7055243

Please sign in to comment.