Enable fp-exceptions
[alexxy/gromacs.git] / src / gromacs / commandline / cmdlinemodulemanager-impl.h
index 02847bad0910ee9d854c1e1ebe25cb32fe2fb8e2..6ff6de239b349217c8d827c68a43a3bd80ca870b 100644 (file)
@@ -186,6 +186,8 @@ class CommandLineCommonOptionsHolder
 
         //! Returns the nice level.
         int niceLevel() const { return niceLevel_; }
+        //! Returns whether floating-point exception should be enabled
+        bool enableFPExceptions() const { return bFpexcept_; }
         //! Returns the debug level.
         int debugLevel() const { return debugLevel_; }
 
@@ -203,6 +205,7 @@ class CommandLineCommonOptionsHolder
         bool                         bCopyright_;
         int                          niceLevel_;
         bool                         bBackup_;
+        bool                         bFpexcept_;
         int                          debugLevel_;
 
         GMX_DISALLOW_COPY_AND_ASSIGN(CommandLineCommonOptionsHolder);