Browse Source

Fixed Nx check in R update.

shkolnick-kun 3 months ago
parent
commit
6f59d2a732
2 changed files with 2 additions and 2 deletions
  1. 1 1
      setup.cfg
  2. 1 1
      src/yafl.c

+ 1 - 1
setup.cfg

@@ -1,6 +1,6 @@
 [metadata]
 name = yaflpy
-version = 0.30.4
+version = 0.30.5
 platforms = any
 
 description = Yet Another Filtering Library

+ 1 - 1
src/yafl.c

@@ -128,7 +128,7 @@ static inline yaflStatusEn \
     yaflStatusEn status = YAFL_ST_OK;
     yaflInt      nxz = nx + nz;
 
-    YAFL_CHECK(nx > 0     YAFL_ST_INV_ARG_1);
+    YAFL_CHECK(nx > 0,     YAFL_ST_INV_ARG_1);
     YAFL_CHECK(nz > 0,     YAFL_ST_INV_ARG_2);
 
     YAFL_CHECK(rff >  0.0, YAFL_ST_INV_ARG_3);