ReverseDiffSource.jl icon indicating copy to clipboard operation
ReverseDiffSource.jl copied to clipboard

Conditionals supported?

Open alexbw opened this issue 9 years ago • 2 comments

I see you have support for some control flow (for-loops), which is awesome. I've been poking around the source, and don't see support for if-statements, while loops, or try/catch statements. Am I correct that these aren't in the library currently?

alexbw avatar Jul 24 '16 14:07 alexbw

Yes, correct, only for-loops and provided they are not too complex in their structure (no dependencies between results of iterations). I am working on a rewrite (devl3 branch) that will support if-else statements, but I am only half-way through it and with very limited time to work on it.

fredo-dedup avatar Jul 25 '16 11:07 fredo-dedup

Hey, wanted to follow-up and see if you've made any progress? Interested in learning and discussing some of the ideas behind the package.

alexbw avatar Apr 11 '17 15:04 alexbw