diff --git a/src/cluster/cluster.cpp b/src/cluster/cluster.cpp index 79b967a291d399c4f01e44863d1301cef4d98cd9..6de933940eb5deb12e38167c3760d6e0556bed5c 100644 --- a/src/cluster/cluster.cpp +++ b/src/cluster/cluster.cpp @@ -917,10 +917,9 @@ int cluster_jxi488_cycle(int jxi488, ScattererConfiguration *sconf, GeometryConf if (jxi488 == jwtm) { int nlemt = 2 * c4->nlem; string ttms_name = output_path + "/c_TTMS.hd5"; - TransitionMatrix ttms(nlemt, lm, vk, exri, c1ao->am0m); - ttms.write_binary(ttms_name, "HDF5"); + TransitionMatrix::write_binary(ttms_name, nlemt, lm, vk, exri, c1ao->am0m, "HDF5"); ttms_name = output_path + "/c_TTMS"; - ttms.write_binary(ttms_name); + TransitionMatrix::write_binary(ttms_name, nlemt, lm, vk, exri, c1ao->am0m); } } // label 156: continue from here