This is not a bug, but a typo in the test. This is the fix:
DEBUG_PRINT("test_meshfunc: setting f2 with explicit derivative\n"); - CHECK_STAT(pspio_meshfunc_set(&f1, m1, f, fp, NULL), PSPIO_SUCCESS); - DEBUG_PRINT("\n"); + CHECK_STAT(pspio_meshfunc_set(&f2, m1, f, fp, NULL), PSPIO_SUCCESS); + DEBUG_PRINT("\n");
This is not a bug, but a typo in the test. This is the fix:
DEBUG_ PRINT(" test_meshfunc: setting f2 with explicit derivative\n"); pspio_meshfunc_ set(&f1, m1, f, fp, NULL), PSPIO_SUCCESS); pspio_meshfunc_ set(&f2, m1, f, fp, NULL), PSPIO_SUCCESS);
- CHECK_STAT(
- DEBUG_PRINT("\n");
+ CHECK_STAT(
+ DEBUG_PRINT("\n");