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