Skip to content

Commit

Permalink
Bug3237: Report targets of active tasks are not created or touched.
Browse files Browse the repository at this point in the history
  • Loading branch information
shoops committed May 21, 2024
1 parent c3cf3f6 commit ab163c2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions copasi/CopasiSE/CopasiSE.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2019 - 2023 by Pedro Mendes, Rector and Visitors of the
// Copyright (C) 2019 - 2024 by Pedro Mendes, Rector and Visitors of the
// University of Virginia, University of Heidelberg, and University
// of Connecticut School of Medicine.
// All rights reserved.
Expand Down Expand Up @@ -784,8 +784,10 @@ int validate()

try
{
std::ostream * pOstream = &std::cout;

success =
TaskList[i].initialize(CCopasiTask::OUTPUT_SE, pDataModel, NULL);
TaskList[i].initialize(CCopasiTask::OUTPUT_SE, pDataModel, pOstream);

// We need to check whether the result is saved in any form.
// If not we need to stop right here to avoid wasting time.
Expand All @@ -810,8 +812,6 @@ int validate()

retcode = 1;
}

pDataModel->finish();
}

return retcode;
Expand Down

0 comments on commit ab163c2

Please sign in to comment.