Merge origin/release-4-6 into master
[alexxy/gromacs.git] / src / gromacs / mdlib / adress.c
index 055c8f5e389722eb61f5d1ea692a25f6ac39a056..d00aabe4b10e822c662c7f4b342008274ed1210a 100644 (file)
@@ -543,12 +543,12 @@ adress_thermo_force(int                  start,
                 {
                     if (fr->n_adress_tf_grps > 0 ){
                         /* multi component tf is on, select the right table */
-                        ATFtab = fr->atf_tabs[mdatoms->tf_table_index[iatom]].tab;
+                        ATFtab = fr->atf_tabs[mdatoms->tf_table_index[iatom]].data;
                         tabscale = fr->atf_tabs[mdatoms->tf_table_index[iatom]].scale;
                     }
                     else {
                     /* just on component*/
-                        ATFtab = fr->atf_tabs[DEFAULT_TF_TABLE].tab;
+                        ATFtab = fr->atf_tabs[DEFAULT_TF_TABLE].data;
                         tabscale = fr->atf_tabs[DEFAULT_TF_TABLE].scale;
                     }