-
Notifications
You must be signed in to change notification settings - Fork 112
Commit
…eps/build.jl.
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -630,9 +630,13 @@ end | |
@test typeof([1m, 2m, 3m] * 5m) == Array{typeof(1u"m^2"),1} | ||
@test @inferred(5m .* [1m, 2m, 3m]) == [5m^2, 10m^2, 15m^2] | ||
@test typeof(5m .* [1m, 2m, 3m]) == Array{typeof(1u"m^2"),1} | ||
@test_broken @inferred(eye(2).*V) == [1.0V 0.0V; 0.0V 1.0V] | ||
|
||
@test_broken @inferred(V.*eye(2)) == [1.0V 0.0V; 0.0V 1.0V] | ||
@static if VERSION >= v"0.6.0-" | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
ajkeller34
Author
Collaborator
|
||
@test_broken @inferred(eye(2).*V) == [1.0V 0.0V; 0.0V 1.0V] | ||
@test_broken @inferred(V.*eye(2)) == [1.0V 0.0V; 0.0V 1.0V] | ||
else | ||
@test @inferred(eye(2).*V) == [1.0V 0.0V; 0.0V 1.0V] | ||
@test @inferred(V.*eye(2)) == [1.0V 0.0V; 0.0V 1.0V] | ||
end | ||
@test @inferred([1V 2V; 0V 3V].*2) == [2V 4V; 0V 6V] | ||
@test @inferred([1V, 2V] .* [true, false]) == [1V, 0V] | ||
@test @inferred([1.0m, 2.0m] ./ 3) == [1m/3, 2m/3] | ||
|
what change broke this?