Use const ref for mtop and inputrec in EnergyOutput initialization
[alexxy/gromacs.git] / src / gromacs / mdlib / mdebin_bar.h
index 7c852b7d3a945e30ddced140111bc5b2abd5e5df..8cc98920a56b2e8e5496d4743d8cb92288392801 100644 (file)
@@ -130,10 +130,10 @@ struct t_mde_delta_h_coll
 
 
 /* initialize a collection of delta h histograms/sets
-    dhc = the collection
-    ir = the input record */
+    dhc      = the collection
+    inputrec = the input record */
 
-void mde_delta_h_coll_init(t_mde_delta_h_coll* dhc, const t_inputrec* ir);
+void mde_delta_h_coll_init(t_mde_delta_h_coll* dhc, const t_inputrec& inputrec);
 
 void done_mde_delta_h_coll(t_mde_delta_h_coll* dhc);