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

deprecate logm in favor of log #23505

Merged
merged 1 commit into from
Aug 31, 2017
Merged

Conversation

Sacha0
Copy link
Member

@Sacha0 Sacha0 commented Aug 30, 2017

This pull request deprecates the spelling logm for matrix logarithm in favor of log. Followup to the much-debated #23233 and #23504. Also ref. #19598 and #8450. Best!

@Sacha0 Sacha0 added deprecation This change introduces or involves a deprecation linear algebra Linear algebra labels Aug 30, 2017
NEWS.md Outdated
@@ -338,6 +338,8 @@ Deprecated or removed

* `expm` has been deprecated in favor of `exp` ([#23233]).

* `logm` has been deprecated in favor of `log` ([#CATS]).
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🐈 🐈

@@ -677,7 +677,7 @@ end
@test exp(a) == exp(a)
@test isposdef(one(elty))
@test sqrtm(a) == sqrt(a)
@test logm(a) ≈ log(a)
@test log(a) ≈ log(a)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These tests don't seem particularly useful anymore.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed 😎

@Sacha0 Sacha0 added this to the 1.0 milestone Aug 31, 2017
@StefanKarpinski StefanKarpinski merged commit 383b919 into JuliaLang:master Aug 31, 2017
@Sacha0 Sacha0 deleted the deplogm branch August 31, 2017 18:00
@Sacha0
Copy link
Member Author

Sacha0 commented Aug 31, 2017

Thanks all! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deprecation This change introduces or involves a deprecation linear algebra Linear algebra
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants