Skip to content

Commit

Permalink
Removed test of rank deficient warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Fernando Guevara Vasquez committed Sep 22, 2020
1 parent 1bfd9b0 commit c8d50c1
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -326,10 +326,4 @@ sp5 = Spline2D(x, y, z.+1)
@test sp1 == sp2
@test allunique([sp1, sp3, sp4, sp5])

# test bad least squares / rank deficient warning
x = 1.0 .+ (0:100)*2e-16
y = 1.0 .+ (100:-1:0)*2e-16;
z = (-1).^(0:100)
@test_logs (:warn,Regex("rank deficient")) Spline2D(x,y,z,s=85)

println("All tests passed.")

0 comments on commit c8d50c1

Please sign in to comment.