Skip to content
Snippets Groups Projects
Commit a7a588f9 authored by Ian Bell's avatar Ian Bell
Browse files

A wee bit of testing for build failures

parent 72139829
No related branches found
No related tags found
No related merge requests found
......@@ -24,7 +24,10 @@ class DLLCaller():
uid = ct.create_string_buffer(200)
errmsg = ct.create_string_buffer(1000)
errcode = f(hrf, uid, errmsg, len(errmsg))
return uid
if errcode == 0:
return uid
else:
raise ValueError(trim(errmsg))
def get_Arxy(self, *, uid, NT, ND, T, rho, z):
f = self._getfcn(self.dll, 'get_Arxy')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment