Skip to content

Commit

Permalink
reRun bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
DeshanPerera committed Oct 10, 2024
1 parent 5a343e7 commit 581ab21
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions cancer_Host.cu
Original file line number Diff line number Diff line change
Expand Up @@ -2116,7 +2116,7 @@ void cancer_Host::simulate_cell_Round(functions_library &functions, string &mult

// exit(-1);

// parents_in_Tissue.clear();
// parents_in_Tissue.clear();

if (parent_IDs.size() != 0)
{
Expand Down Expand Up @@ -2687,7 +2687,7 @@ void cancer_Host::simulate_cell_Round(functions_library &functions, string &mult
parents_Elapsed[parent] = progeny_Elapsed[rerun_Progeny[parent].first];
parent_IDs.push_back(rerun_Progeny[parent].second);
}
rerun_Progeny.clear();

free(progeny_Elapsed);

cout << "Done\n";
Expand Down Expand Up @@ -2741,6 +2741,8 @@ void cancer_Host::simulate_cell_Round(functions_library &functions, string &mult
cudaStreamCreate(&streams[gpu]);
}

rerun_Progeny.clear();

free(parents_Elapsed);

for (int row = 0; row < tot_Parents * 2; row++)
Expand Down
Binary file modified main
Binary file not shown.

0 comments on commit 581ab21

Please sign in to comment.