if (!res) {
const char* faildump = "fgmr_failed.dat";
int defout = dup(1);
- int slvDump = open(faildump, O_RDWR|O_CREAT);
+ int slvDump = open(faildump, O_RDWR|O_CREAT, 0666);
dup2(slvDump,1);
//
printf("#Failed to solve using solver %d with PreCond: %d MaxIter: %d Tol: %e NKrylov: %d\n",
Bool_t AliMillePede2::IsRecordAcceptable() const
{
// validate record according run lists set by the user
- static Long_t prevRunID = 0xffffffffff;
+ static Long_t prevRunID = kMaxInt;
static Bool_t prevAns = kTRUE;
Long_t runID = fRecord->GetRunID();
if (runID!=prevRunID) {