From 2acb5b6d0c2c34401107fefa97f41d89ab0167d9 Mon Sep 17 00:00:00 2001 From: ivana Date: Tue, 25 Jul 2000 10:37:25 +0000 Subject: [PATCH] changed float return value DBL_MAX to FLT_MAX --- TGeant4/TG4StepManager.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/TGeant4/TG4StepManager.cxx b/TGeant4/TG4StepManager.cxx index b9c0ae4e4e7..d23feaba540 100644 --- a/TGeant4/TG4StepManager.cxx +++ b/TGeant4/TG4StepManager.cxx @@ -493,7 +493,7 @@ Float_t TG4StepManager::MaxStep() const G4String text = "User Limits are not defined for log volume "; text = text + curLogVolume->GetName(); TG4Globals::Warning(text); - return DBL_MAX; + return FLT_MAX; } else { @@ -505,7 +505,7 @@ Float_t TG4StepManager::MaxStep() const } else { TG4Globals::Exception("TG4StepManager: Step is not defined."); - return DBL_MAX; + return FLT_MAX; } } -- 2.39.3