GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Bugs, Fixes, Releases » running error
Re: running error [message #4638 is a reply to message #4636] Mon, 09 July 2007 13:23 Go to previous message
Florian Uhlig is currently offline  Florian Uhlig
Messages: 424
Registered: May 2007
first-grade participant
From: *gsi.de
Hi Alicia

This has to do with our cmake generated libraries compared to automake generated libraries.
If there is a mathematical not defined operation like sqrt(-1) or a division by zero with cmake generated libraries you get a floating point exception. With automake generated libraries the result of such an operation is NaN (Not a Number). With this all
mathematical operation can work and the result is again a NaN.
But going on like that you don't know what's going on in your
program.
In my opinion the better way is that the program crashes when
there is an error.
The problem in this case is that the error don't occur in our code. I' am on a conference this week, but i will try to locate the error in GEANT4 and try to correct it as fast as possible.


Ciao

Florian
 
Read Message
Read Message
Previous Topic: cmake
Next Topic: Geant4 links in setting the environment
Goto Forum:
  


Current Time: Fri Mar 29 00:29:29 CET 2024

Total time taken to generate the page: 0.01167 seconds