NCEPLIBS-g2c icon indicating copy to clipboard operation
NCEPLIBS-g2c copied to clipboard

Is this a bug in g2c_compare.c?

Open DusanJovic-NOAA opened this issue 5 months ago • 1 comments

In this section in g2c_compare.c:

 69     /* Open the two files. */
 70     g2c_set_log_level(10);
 71     if ((ret = g2c_open(path[0], G2C_NOWRITE, &g2cid0)))
 72         return ret;
 73     if ((ret = g2c_open(path[0], G2C_NOWRITE, &g2cid1)))
 74         return ret;

shouldn't the second file use path[1] instead of path[0]?

DusanJovic-NOAA avatar Sep 20 '24 14:09 DusanJovic-NOAA