OGS
LisCheck.h
Go to the documentation of this file.
1 
15 #pragma once
16 
17 #include <lis.h>
18 
19 #include <vector>
20 
21 #include "BaseLib/Logging.h"
22 
23 namespace MathLib
24 {
25 
32 inline bool checkLisError(int err)
33 {
34  bool ok = (err == LIS_SUCCESS);
35  if (!ok) {
36  ERR("***ERROR: Lis error code = {:d}", err);
37  }
38  return ok;
39 }
40 
41 } // MathLib
void ERR(char const *fmt, Args const &... args)
Definition: Logging.h:42
bool checkLisError(int err)
Definition: LisCheck.h:32