diff options
| author | kaizhangNV <149626564+kaizhangNV@users.noreply.github.com> | 2025-02-05 12:12:49 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-05 10:12:49 -0800 |
| commit | 4b350645042b8e8fbdad19784ee745d11c7bc616 (patch) | |
| tree | acc7cb6b3cc82d71acf66ab2d4d052598aa72535 /tests | |
| parent | d3e5f39cafbf1d65cf93cdd42c20c472c68197a2 (diff) | |
Fix autodiff issue for vector<T, N> (#6275)
* Fix autodiff issue for vector<T, N>
Close #6154
We didn't implement correctly for vector<T, N> regarding the
differentiablity. As we check differentiable before specialization,
however according to the definition of vector, it has to be specialized
to IFloat to know it's conformed to IDifferential type. Therefore for
parameter type vector<T, N> will become no_diff.
Therefore, we change the implementation a to make it explicit conform
to IDifferential type.
* fix typo
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions
