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

Test for forward.grad on functions using ifelse fails. #8

Open
Non-Contradiction opened this issue May 19, 2018 · 2 comments
Open

Test for forward.grad on functions using ifelse fails. #8

Non-Contradiction opened this issue May 19, 2018 · 2 comments

Comments

@Non-Contradiction
Copy link
Owner

The problem is caused by issues in handling ifelse and rep for JuliaObject in JuliaCall.
The corresponding test is temporarily commented out.

@Non-Contradiction Non-Contradiction changed the title Test for forward.grad on function vec2num_6 in DiffTests fails. Test for forward.grad on functions using ifelse fails. May 19, 2018
@Non-Contradiction
Copy link
Owner Author

Note the test has been added back and is okayl because of some tricks in JuliaCall as documented in the progress.md.
Need to think on the issue further, so leave it open as a reminder.

@nashjc
Copy link
Collaborator

nashjc commented Jun 6, 2018

Difficulties with any "switch" within a program are likely. Good to keep as a reminder.

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

No branches or pull requests

2 participants