/ / /
| 55 | /***************************************************************/ |
| 56 | /***************************************************************/ |
| 57 | bool equal_float(double *array1, double *array2, int N) { |
| 58 | for (int n = 0; n < N; n++) |
| 59 | if (((float)array1[n]) != ((float)array2[n])) return false; |
| 60 | return true; |
| 61 | } |
| 62 | |
| 63 | /***************************************************************/ |
| 64 | /* check that the coordinates and weights computed from the */ |