File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -58,6 +58,8 @@ function test_lq_compact(
5858 Lpiv, Qpiv = @testinferred lq_compact (A; pivoted = true )
5959 @test Lpiv * Qpiv ≈ A
6060 @test isisometric (Qpiv; side = :right , atol, rtol)
61+ # pivoted AND blocksize not yet supported
62+ @test_throws ArgumentError lq_compact (A; pivoted = true , blocksize = 2 )
6163 else
6264 @test_throws Exception lq_compact (A; pivoted = true )
6365 end
@@ -148,6 +150,8 @@ function test_lq_full(
148150 Lpiv, Qpiv = @testinferred lq_full (A; pivoted = true )
149151 @test Lpiv * Qpiv ≈ A
150152 @test isunitary (Qpos; atol, rtol)
153+ # pivoted AND blocksize not yet supported
154+ @test_throws ArgumentError lq_full (A; pivoted = true , blocksize = 2 )
151155 else
152156 @test_throws Exception lq_full (A; pivoted = true )
153157 end
Original file line number Diff line number Diff line change @@ -59,6 +59,8 @@ function test_qr_compact(
5959 Qpiv, Rpiv = @testinferred qr_compact (A; pivoted = true )
6060 @test Qpiv * Rpiv ≈ A
6161 @test isisometric (Qpos; atol, rtol)
62+ # pivoted AND blocksize not yet supported
63+ @test_throws ArgumentError qr_compact (A; pivoted = true , blocksize = 2 )
6264 else
6365 @test_throws Exception qr_compact (A; pivoted = true )
6466 end
@@ -150,6 +152,8 @@ function test_qr_full(
150152 Qpiv, Rpiv = @testinferred qr_full (A; pivoted = true )
151153 @test Qpiv * Rpiv ≈ A
152154 @test isunitary (Qpos; atol, rtol)
155+ # pivoted AND blocksize not yet supported
156+ @test_throws ArgumentError qr_full (A; pivoted = true , blocksize = 2 )
153157 else
154158 @test_throws Exception qr_full (A; pivoted = true )
155159 end
You can’t perform that action at this time.
0 commit comments