From a0c5b25551a431aba97d97ac7c6cf6704694e574 Mon Sep 17 00:00:00 2001 From: JamesEMcclure Date: Tue, 20 Aug 2019 07:55:55 -0400 Subject: [PATCH] fix c str bug --- models/ColorModel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/ColorModel.cpp b/models/ColorModel.cpp index 85e03f4a..3f49b4c5 100644 --- a/models/ColorModel.cpp +++ b/models/ColorModel.cpp @@ -559,7 +559,7 @@ void ScaLBL_ColorModel::Run(){ printf(" max_steady_timesteps = %i \n",MAX_STEADY_TIMESTEPS); printf(" tolerance = %f \n",tolerance); std::string first_image = ImageList[IMAGE_INDEX]; - printf(" first image in sequence: %s ***\n", next_image.c_str()); + printf(" first image in sequence: %s ***\n", first_image.c_str()); } else if (protocol == "seed water"){ printf(" using protocol = seed water \n");