Skip to content

using isapprox(a,b) function in julia instead of rolling our own #612

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

Merged
merged 2 commits into from
Jun 14, 2019

Conversation

leios
Copy link
Member

@leios leios commented Jun 13, 2019

The julia implementation of fft had an approximate function we created ourselves, but there was no reason to do so when the isapprox(a,b) function exists

@leios leios changed the title using isapprox(1,b) function in julia instead of rolling our own using isapprox(a,b) function in julia instead of rolling our own Jun 13, 2019
@leios leios added the Implementation Edit This provides an edit to an algorithm implementation. (Code and maybe md files are edited.) label Jun 13, 2019
@c252
Copy link
Member

c252 commented Jun 13, 2019

I personally like the Unicode syntax in Julia a ≈ b, but I am probably in the minority.

@leios
Copy link
Member Author

leios commented Jun 13, 2019

I'll be honest, I just don't want to have to change text editors to put in the LaTeX. The unicode-ness of Julia also makes it less readable in my opinion... But I know people who absolutely love unicode

@c252
Copy link
Member

c252 commented Jun 13, 2019

I understand, also with isapprox you can set the tolerance value, which you cannot do with the unicode.

Copy link
Member

@c252 c252 left a comment

Choose a reason for hiding this comment

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

Looks good.

@c252 c252 merged commit f732a95 into algorithm-archivists:master Jun 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Implementation Edit This provides an edit to an algorithm implementation. (Code and maybe md files are edited.)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants