if (clust)
{
- dump_clust_stats(fplog, fcd.disres.nres, &(top.idef.il[F_DISRES]),
- dump_clust_stats(fplog, fcd.disres, &(top->idef.il[F_DISRES]),
- top->idef.iparams, clust->clust, dr_clust,
++ dump_clust_stats(fplog, fcd.disres, &(top.idef.il[F_DISRES]),
+ top.idef.iparams, clust->clust, dr_clust,
clust->grpname, isize, index);
}
else
{
- dump_stats(fplog, j, fcd.disres.nres, &(top.idef.il[F_DISRES]),
- dump_stats(fplog, j, fcd.disres, &(top->idef.il[F_DISRES]),
- top->idef.iparams, &dr, isize, index,
- bPDB ? atoms : nullptr);
++ dump_stats(fplog, j, fcd.disres, &(top.idef.il[F_DISRES]),
+ top.idef.iparams, &dr, isize, index,
+ bPDB ? atoms.get() : nullptr);
if (bPDB)
{
write_sto_conf(opt2fn("-q", NFILE, fnm),