-
Notifications
You must be signed in to change notification settings - Fork 296
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BE] fix jacobian array differentiation (#7771)
* [BE] fix jacobian array differentiation - fixes ticket #7550 - problem: differentiation of arrays that have iteration as well as inner variables - old behavior: if any of them is an iteration variable, the whole array cref is assumed to be - new behavior: if it contains both, it is scalarized and treated individually (just the cref!) - remaining issues: just works for vectors, higher dimension tensors will throw an error * [BE] follow up 7550 fix - also handle tensors by threading the crefs correctly into old structure
- Loading branch information
Showing
2 changed files
with
23 additions
and
8 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
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