File tree Expand file tree Collapse file tree
Common/include/basic_types Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -93,13 +93,6 @@ namespace AD{
9393 */
9494 inline void ClearAdjoints () {}
9595
96- /* !
97- * \brief Possibly resize the vector of adjoints.
98- * \details After this operation, the vector can store
99- * the adjoints of all variables computed up to this point.
100- */
101- inline void ResizeAdjoints () {}
102-
10396 /* !
10497 * \brief Computes the adjoints, i.e. the derivatives of the output with respect to the input variables.
10598 */
@@ -349,12 +342,6 @@ namespace AD{
349342
350343 FORCEINLINE void ClearAdjoints () {AD::getGlobalTape ().clearAdjoints (); }
351344
352- FORCEINLINE void ResizeAdjoints () {
353- #if defined(HAVE_OPDI)
354- AD::getGlobalTape ().setGradient (0 , 0.0 );
355- #endif
356- }
357-
358345 FORCEINLINE void ComputeAdjoint () {
359346 #if defined(HAVE_OPDI)
360347 opdi::logic->prepareEvaluate ();
You can’t perform that action at this time.
0 commit comments