File tree Expand file tree Collapse file tree 2 files changed +16
-20
lines changed Expand file tree Collapse file tree 2 files changed +16
-20
lines changed Original file line number Diff line number Diff line change @@ -590,26 +590,6 @@ function triangular_test(x)
590590 @test MA. iszero!! (z[i, j])
591591 end
592592 end
593- v = deepcopy (x[:, 2 ])
594- m = deepcopy (x)
595- @test MA. isequal_canonical (
596- mul! (deepcopy (v), ut, v),
597- mul! (deepcopy (v), Matrix (ut), v),
598- )
599- @test MA. isequal_canonical (
600- mul! (deepcopy (m), ut, m),
601- mul! (deepcopy (m), Matrix (ut), m),
602- )
603- v = deepcopy (lt[:, 1 ])
604- m = deepcopy (x)
605- @test MA. isequal_canonical (
606- mul! (deepcopy (v), lt, v),
607- mul! (deepcopy (v), Matrix (lt), v),
608- )
609- @test MA. isequal_canonical (
610- mul! (deepcopy (m), lt, m),
611- mul! (deepcopy (m), Matrix (lt), m),
612- )
613593 return
614594end
615595
Original file line number Diff line number Diff line change 319319 MA. operate!! (MA. add_mul, X, c, c' )
320320 @test X == [26 32 ; 33 40 ]
321321end
322+
323+ @testset " Issue 153-vector" begin
324+ A = big .([1 2 ; 3 4 ])
325+ b = big .([5 , 6 ])
326+ ret = big .([0 , 0 ])
327+ LinearAlgebra. mul! (ret, A, b)
328+ @test ret == A * b
329+ end
330+
331+ @testset " Issue 153-matrix" begin
332+ A = big .([1 2 ; 3 4 ])
333+ B = big .([5 6 ; 7 8 ])
334+ ret = big .([0 0 ; 0 0 ])
335+ LinearAlgebra. mul! (ret, A, B)
336+ @test ret == A * B
337+ end
You can’t perform that action at this time.
0 commit comments