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

simplified grad_dist2 fixing #22 #34

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

simplified grad_dist2 fixing #22 #34

wants to merge 1 commit into from

Conversation

jan-glx
Copy link

@jan-glx jan-glx commented Aug 26, 2015

Compilation attempts led to crashes of python on my machine. Instead of just out-commenting the trial as in #22 I propose this simpler implementation. Equivalence "proof" and run time comparisons can be found at this gist. Please test again against a working c compilation. I have no Idea about what the function is doing, but the way the scaling by ls was implemented is odd, so please check if the square is correct.

This is my first pull request ever please let me know if I could have done anything better.

Compilation attempts led to crashes of python on my machine. Instead of just out-commenting the trial as in #22 I propose this simpler implementation. Equivalence "proof" and run time comparisons can be found at [this gist](https://gist.github.com/jan-glx/e39f2b0ef23b10ee7e13). Please test again against a working c compilation. I have no Idea about what the function is doing, but the way the scaling by ls was implemented is odd, so please check if the square is correct.

This is my first pull request ever pleas let me know if I could have done anything better.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant