@@ -807,7 +807,6 @@ function test_linop()
807807 opA2 = LinearOperator (T, 12 , 10 , false , false , prod2!, tprod2!)
808808 opA = eval (operation)(opA1, opA2)
809809 b = rand (T, opA. ncol)
810- @test_broken has_args5 (opA) == false # confusing: the concatenated operator does implement 5-arg mul!, but the original operators do not
811810 @test isallocated5 (opA1) == isallocated5 (opA2) == false
812811 @test norm (opA * b - eval (operation)(A1, A2) * b) ≤ sqrt (eps ())
813812 α, β = 2.0 , 3.0
@@ -832,7 +831,6 @@ function test_linop()
832831 opA1 = LinearOperator (T, 10 , 10 , false , false , prod1!, tprod1!)
833832 opA2 = LinearOperator (T, 10 , 10 , false , false , prod2!, tprod2!)
834833 opA = BlockDiagonalOperator (opA1, opA2)
835- @test_broken has_args5 (opA) == false
836834 @test isallocated5 (opA1) == isallocated5 (opA2) == false
837835 @test norm (opA * b - A * b) ≤ sqrt (eps ())
838836 α, β = 2.0 , 3.0
@@ -848,7 +846,6 @@ function test_linop()
848846 tprod1! = (res, v) -> mul! (res, transpose (A1), v)
849847 opA1 = LinearOperator (T, 12 , 10 , false , false , prod1!, tprod1!)
850848 opA = - opA1
851- @test_broken has_args5 (opA) == false
852849 @test isallocated5 (opA1) == false
853850 @test norm (opA * b + A1 * b) ≤ sqrt (eps ())
854851 α, β = 2.0 , 3.0
@@ -865,7 +862,6 @@ function test_linop()
865862 opA1 = LinearOperator (T, 12 , 10 , false , false , prod1!, tprod1!)
866863 x = 4.0
867864 opA = x * opA1
868- @test_broken has_args5 (opA) == false
869865 @test isallocated5 (opA1) == false
870866 @test norm (opA * b - x * A1 * b) ≤ sqrt (eps ())
871867 α, β = 2.0 , 3.0
@@ -882,7 +878,6 @@ function test_linop()
882878 prod! = (res, v) -> mul! (res, A, v)
883879 tprod! = (res, v) -> mul! (res, transpose (A), v)
884880 opA = LinearOperator (T, 10 , 10 , true , true , prod!, tprod!)
885- @test has_args5 (opA) == false
886881 res = rand (T, 10 )
887882 mul! (res, opA, b)
888883 @test res == A * b
0 commit comments