- if (d1 != d2) {
- fprintf(stderr,
- "The retrieved value is not the same than the injected one at the begining (%f!=%f)\n",
- d1,d2);
- abort();
- }
- // fprintf (stderr,"Pop %d, length=%d \n",cpt, gras_dynar_length(d));
+ gras_assert2(d1 == d2,
+ "The retrieved value is not the same than the injected one at the begining (%f!=%f)",
+ d1,d2);
+ DEBUG2("Pop %d, length=%lu",cpt, gras_dynar_length(d));