Skip to content
Snippets Groups Projects
Commit 8fc4dbee authored by Kurt A. O'Hearn's avatar Kurt A. O'Hearn
Browse files

sPuReMD: fix reallocation issue.

parent b1e52a8b
No related branches found
No related tags found
No related merge requests found
......@@ -380,6 +380,12 @@ int simulate( const void * const handle )
if ( ret_forces != SUCCESS )
{
Estimate_Storages( spmd_handle->system, spmd_handle->control,
spmd_handle->workspace, spmd_handle->lists,
spmd_handle->workspace->realloc.cm,
spmd_handle->workspace->realloc.bonds
|| spmd_handle->workspace->realloc.hbonds );
ret_forces = Compute_Forces( spmd_handle->system, spmd_handle->control, spmd_handle->data,
spmd_handle->workspace, spmd_handle->lists, spmd_handle->out_control,
spmd_handle->realloc );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment