Skip to content

Commit 2b2e395

Browse files
committed
remove broadcasted mul in Choeslky tests
1 parent 01a6447 commit 2b2e395

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

test/runtests.jl

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -208,24 +208,24 @@ end
208208
end
209209

210210
# Update `L`.
211-
C_new = ConstructionBase.setproperties(C, (L=2 .* C.L,))
211+
C_new = ConstructionBase.setproperties(C, (L=2 * C.L,))
212212
@test typeof(C_new) === typeof(C)
213213
for f in propertynames(C)
214-
@test getproperty(C_new, f) == 2 .* getproperty(C, f)
214+
@test getproperty(C_new, f) == 2 * getproperty(C, f)
215215
end
216216

217217
# Update `U`.
218-
C_new = ConstructionBase.setproperties(C, (U=2 .* C.U,))
218+
C_new = ConstructionBase.setproperties(C, (U=2 * C.U,))
219219
@test typeof(C_new) === typeof(C)
220220
for f in propertynames(C)
221-
@test getproperty(C_new, f) == 2 .* getproperty(C, f)
221+
@test getproperty(C_new, f) == 2 * getproperty(C, f)
222222
end
223223

224224
# Update `UL`
225-
C_new = ConstructionBase.setproperties(C, (UL=2 .* C.UL,))
225+
C_new = ConstructionBase.setproperties(C, (UL=2 * C.UL,))
226226
@test typeof(C_new) === typeof(C)
227227
for f in propertynames(C)
228-
@test getproperty(C_new, f) == 2 .* getproperty(C, f)
228+
@test getproperty(C_new, f) == 2 * getproperty(C, f)
229229
end
230230

231231
# We can only set the properties with `LowerTriangular` or `UpperTriangular` matrices.

0 commit comments

Comments
 (0)