File tree Expand file tree Collapse file tree 1 file changed +18
-1
lines changed Expand file tree Collapse file tree 1 file changed +18
-1
lines changed Original file line number Diff line number Diff line change
1
+ <<<<<< < HEAD
1
2
using Test, LinearAlgebra, SpecialFunctions
3
+ ====== =
4
+ using SpecialFunctions
5
+ using LinearAlgebra
6
+ >>>>>> > scale! -> [lr]mul!
2
7
3
8
@testset " test distribute and other constructors" begin
4
9
A = rand (1 : 100 , (100 ,100 ))
196
201
197
202
check_leaks ()
198
203
199
- @testset " test scale " begin
204
+ @testset " test rmul " begin
200
205
A = randn (100 ,100 )
201
206
DA = distribute (A)
202
207
@test rmul! (DA, 2 ) == rmul! (A, 2 )
@@ -205,17 +210,29 @@ end
205
210
206
211
check_leaks ()
207
212
213
+ <<<<<< < HEAD
208
214
@testset " test rmul!(Diagonal, A)" begin
215
+ ====== =
216
+ @testset " test [lr]mul!(b, A)" begin
217
+ >>>>>> > scale! -> [lr]mul!
209
218
A = randn (100 , 100 )
210
219
b = randn (100 )
211
220
D = Diagonal (b)
212
221
DA = distribute (A)
222
+ <<<<<< < HEAD
213
223
@test lmul! (D, A) == lmul! (D, DA)
224
+ ====== =
225
+ @test lmul! (Diagonal (b), A) == lmul! (Diagonal (b), DA)
226
+ >>>>>> > scale! -> [lr]mul!
214
227
close (DA)
215
228
A = randn (100 , 100 )
216
229
b = randn (100 )
217
230
DA = distribute (A)
231
+ <<<<<< < HEAD
218
232
@test rmul! (A, D) == rmul! (DA, D)
233
+ ====== =
234
+ @test rmul! (A, Diagonal (b)) == rmul! (A, Diagonal (b))
235
+ >>>>>> > scale! -> [lr]mul!
219
236
close (DA)
220
237
end
221
238
You can’t perform that action at this time.
0 commit comments