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