1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-06-13 20:57:06 +01:00

Hadrons: object creation that get properly captured by the memory profiler

This commit is contained in:
2017-12-06 16:51:48 +01:00
parent e78794688a
commit 0fbf445edd
6 changed files with 44 additions and 30 deletions

View File

@ -114,7 +114,7 @@ void TRBPrecCG<FImpl>::setup(void)
schurSolver(mat, source, sol);
};
envCreate(SolverFn, getName(), Ls, new SolverFn(solver));
envCreate(SolverFn, getName(), Ls, solver);
env().addOwnership(getName(), par().action);
}