-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
I don't understand the error very well. I've fixed it by once again switching between lax.cond and np.where, which must be the sixth time I've done this in the plasticity models. I'm still not sure what the rules are for short circuiting in jax and how to be certain that the false branch of the code won't be executed under AD and/or jit. Comprehensive unit testing is in order.
- Loading branch information
Showing
1 changed file
with
27 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters