We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 01d8f6b commit 353f27eCopy full SHA for 353f27e
1 file changed
StRoot/macros/rootlogon.C
@@ -1,11 +1,10 @@
1
{
2
// set FloatPointException trap
3
namespace rootlogon {
4
- int fpe=0;const char *env=0;
+ int fpe = TString(gSystem->Getenv("STAR_VERSION")) == ".DEV";
5
+ const char *env = gSystem->Getenv("STARFPE");
6
}
7
- rootlogon::fpe = TString(gSystem->Getenv("STAR_VERSION")) == ".DEV";
8
- rootlogon::env = gSystem->Getenv("STARFPE");
9
if (rootlogon::env) {
10
if (strcmp(rootlogon::env,"YES")==0) rootlogon::fpe=1;
11
if (strcmp(rootlogon::env,"NO" )==0) rootlogon::fpe=0;
0 commit comments