We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e9d199c commit 30ecd64Copy full SHA for 30ecd64
.github/workflows/ci.yml
@@ -40,6 +40,7 @@ jobs:
40
version:
41
- 'lts'
42
- '1'
43
+ - 'pre'
44
os:
45
- ubuntu-latest
46
- macOS-latest
test/test_broadcasting.jl
@@ -156,15 +156,16 @@ Random.seed!(0)
156
end
157
158
B .= 2.0.*A
159
- @test B == 2A == 2.0.*A
+ @test norm(B-2A) == 0
160
+ @test B == 2A == 2.0.*A
161
@test 2A isa BandedMatrix
162
@test 2.0.*A isa BandedMatrix
163
@test bandwidths(2A) == bandwidths(2.0.*A) == bandwidths(A)
164
165
A .= 2.0.*A
166
@test A == B
167
- B .= A.*2.0
168
+ B .= A .* 2.0
169
@test B == A*2 == A.*2.0
170
@test A*2 isa BandedMatrix
171
@test A .* 2.0 isa BandedMatrix
0 commit comments