summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/namd/inherited-member-2.14.patch
blob: 9538daafd7b590aa4978bf023cb42098f2889c8f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- a/src/colvarproxy_namd.C	2020-10-02 15:11:37.205197956 -0700
+++ b/src/colvarproxy_namd.C	2020-10-02 15:11:47.865071117 -0700
@@ -94,12 +94,11 @@
           "the output restart file could be defined, exiting.\n");
   }
 
+  init_tcl_pointers();
 
 #ifdef NAMD_TCL
   have_scripts = true;
 
-  init_tcl_pointers();
-
   // See is user-scripted forces are defined
   if (Tcl_FindCommand(reinterpret_cast<Tcl_Interp *>(tcl_interp_),
                       "calc_colvar_forces", NULL, 0) == NULL) {