Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added ^ method for UniformScaling #34008

Merged
merged 10 commits into from
Dec 11, 2019
Prev Previous commit
Next Next commit
Update stdlib/LinearAlgebra/test/uniformscaling.jl
Co-Authored-By: simeonschaub <[email protected]>
  • Loading branch information
MasonProtter and simeonschaub authored Dec 2, 2019
commit bc87e0ef33e55ce9b005d67f7f4dd66b661ba454
2 changes: 1 addition & 1 deletion stdlib/LinearAlgebra/test/uniformscaling.jl
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ end
@test α * UniformScaling(1.0) == UniformScaling(1.0) * α
@test UniformScaling(α)/α == UniformScaling(1.0)

@test (α*I)^2 = α^2 * I
@test (α*I)^2 == α^2 * I
@test (α*I)^(-2) = α^(-2) * I
@test (α*I)^(.5) = α^(.5) * I
end
Expand Down