From 0405e285ac8fdaec771dccb5a7258ff81114a602 Mon Sep 17 00:00:00 2001 From: James E McClure Date: Fri, 29 Mar 2019 06:56:24 -0400 Subject: [PATCH] explicit sign char --- models/ColorModel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/ColorModel.cpp b/models/ColorModel.cpp index 93e44ae9..adadc89d 100644 --- a/models/ColorModel.cpp +++ b/models/ColorModel.cpp @@ -104,7 +104,7 @@ void ScaLBL_ColorModel::SetDomain(){ Mask = std::shared_ptr(new Domain(domain_db,comm)); // mask domain removes immobile phases Nx+=2; Ny+=2; Nz += 2; N = Nx*Ny*Nz; - id = new char [N]; + id = new signed char [N]; for (int i=0; iid[i] = 1; // initialize this way //Averages = std::shared_ptr ( new TwoPhase(Dm) ); // TwoPhase analysis object Averages = std::shared_ptr ( new SubPhase(Dm) ); // TwoPhase analysis object