Skip to content

Commit 38cf4df

Browse files
James CraigJames Craig
authored andcommitted
v500a - (v4.0.1 release) - fix problematic enum when compiling without lp_solve
1 parent dc0dabc commit 38cf4df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ParseFEWSRunInfo.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ bool ParseNetCDFRunInfoFile(CModel *&pModel, optStruct &Options, bool runname_ov
288288
if (retval==NC_NOERR){
289289
for (int i = 0; i < nAttributes; i++) {
290290
retval=nc_inq_attname(ncid,varid_props,i,att_name);
291-
if (retval==NO_ERROR){
291+
if (retval==NC_NOERR){
292292
string att_name_s=to_string(att_name);
293293

294294
// NamedConstant(s) ----------------------------------------------------

0 commit comments

Comments
 (0)