From f3b05827a416ccfe66316ef2c9cc273d13f195fa Mon Sep 17 00:00:00 2001 From: johnoel Date: Mon, 8 Aug 2022 15:00:25 -1000 Subject: [PATCH] Opps...fix for admb-13.0. --- src/linad99/fvar2.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/linad99/fvar2.cpp b/src/linad99/fvar2.cpp index eb948fb63..05750f555 100644 --- a/src/linad99/fvar2.cpp +++ b/src/linad99/fvar2.cpp @@ -64,14 +64,12 @@ double_and_int* dlist::gradnew() */ void gradfree(dlink* v) { -#if !defined(OPT_LIB) if (!gradient_structure::instances) { //delete (double_and_int*)v; v = NULL; return; } -#endif gradient_structure::_instance->GRAD_LIST->append(v); } //prevariable::prevariable(const prevariable& t)