Commit d551cda2 authored by Ari Trachtenberg's avatar Ari Trachtenberg
Browse files

updated Common

parent a1b19b0c
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -10,6 +10,8 @@
#include <sstream>
#include <regex>
#include <cmath>
#include <limits>

using namespace std;

/**
@@ -85,7 +87,7 @@ public:
            return stoi(lastInt);  // Return the last matched float
        } catch (exception& ignored) {
            cerr << "I could not parse " << lastInt << " into an integer." << endl;
            return NAN;
            return numeric_limits<int>::min();
        }
    }