From c05a6398b77ca67279d83fa2c7d5ce386f548f54 Mon Sep 17 00:00:00 2001 From: Holger Vogt Date: Mon, 9 Dec 2024 14:56:28 +0100 Subject: [PATCH] Reserve enough memory --- src/ciderlib/oned/oneddefs.h | 8 ++++---- src/ciderlib/twod/twoddefs.h | 8 ++++---- src/main.c | 18 +++++++++--------- 3 files changed, 17 insertions(+), 17 deletions(-) diff --git a/src/ciderlib/oned/oneddefs.h b/src/ciderlib/oned/oneddefs.h index 1dba47811..606ee8e62 100644 --- a/src/ciderlib/oned/oneddefs.h +++ b/src/ciderlib/oned/oneddefs.h @@ -7,10 +7,10 @@ /* Debug statements */ -extern bool ONEacDebug; -extern bool ONEdcDebug; -extern bool ONEtranDebug; -extern bool ONEjacDebug; +extern int ONEacDebug; +extern int ONEdcDebug; +extern int ONEtranDebug; +extern int ONEjacDebug; /* Now some defines for the one dimensional simulator * library. diff --git a/src/ciderlib/twod/twoddefs.h b/src/ciderlib/twod/twoddefs.h index 8dfeccf10..5b0d57869 100644 --- a/src/ciderlib/twod/twoddefs.h +++ b/src/ciderlib/twod/twoddefs.h @@ -7,10 +7,10 @@ /* Debug statements */ -extern bool TWOacDebug; -extern bool TWOdcDebug; -extern bool TWOtranDebug; -extern bool TWOjacDebug; +extern int TWOacDebug; +extern int TWOdcDebug; +extern int TWOtranDebug; +extern int TWOjacDebug; /* Now some defines for the two dimensional simulator * library. diff --git a/src/main.c b/src/main.c index 71e2c675a..b4c64daf1 100644 --- a/src/main.c +++ b/src/main.c @@ -135,15 +135,15 @@ double MuLim, MutLim; /* Global debug flags from CIDER, soon they will become * spice variables :) */ -bool ONEacDebug = FALSE; -bool ONEdcDebug = TRUE; -bool ONEtranDebug = TRUE; -bool ONEjacDebug = FALSE; - -bool TWOacDebug = FALSE; -bool TWOdcDebug = TRUE; -bool TWOtranDebug = TRUE; -bool TWOjacDebug = FALSE; +int ONEacDebug = FALSE; +int ONEdcDebug = TRUE; +int ONEtranDebug = TRUE; +int ONEjacDebug = FALSE; + +int TWOacDebug = FALSE; +int TWOdcDebug = TRUE; +int TWOtranDebug = TRUE; +int TWOjacDebug = FALSE; /* CIDER Global Variable Declarations */