From b5a8463efbd135546e3dbca1799c0fa04f66408f Mon Sep 17 00:00:00 2001 From: James E McClure Date: Mon, 19 Aug 2019 20:46:22 -0400 Subject: [PATCH] image sequence bug --- models/ColorModel.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/models/ColorModel.cpp b/models/ColorModel.cpp index e091dadc..44969f06 100644 --- a/models/ColorModel.cpp +++ b/models/ColorModel.cpp @@ -558,7 +558,8 @@ void ScaLBL_ColorModel::Run(){ printf(" min_steady_timesteps = %i \n",MIN_STEADY_TIMESTEPS); printf(" max_steady_timesteps = %i \n",MAX_STEADY_TIMESTEPS); printf(" tolerance = %f \n",tolerance); - printf(" morph_delta = %f \n",morph_delta); + std::string first_image = ImageList[IMAGE_INDEX]; + } else if (protocol == "seed water"){ printf(" using protocol = seed water \n"); @@ -803,7 +804,7 @@ void ScaLBL_ColorModel::Run(){ // Use image sequence std::string next_image = ImageList[IMAGE_INDEX]; if (IMAGE_INDEX < IMAGE_COUNT){ - if (rank==0) printf("***Loading next image in sequence (%i): %s ***\n", next_image); + if (rank==0) printf("***Loading next image in sequence (%i): %s ***\n", IMAGE_INDEX, next_image); ImageInit(next_image); IMAGE_INDEX++; }