Advertisement
Guest User

Untitled

a guest
Mar 26th, 2019
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.86 KB | None | 0 0
  1. //Testeo sencillo si cuela cuela imagenes iguales
  2. bool iguales_loco = true;
  3. bool iguales_reparto = true;
  4. bool iguales_multipackage = true;
  5. for (int i = 1; i < (im->height - 1); i++) {//A este for le faltaban las llaves en el original. Seguramente fuera un fallo pero mejor tenerlo en cuenta
  6. for (int j = 1; j < (im->width - 1); j++) {
  7. if (im2->row_pointers[i][j] != im2_parallel->row_pointers[i][j]) iguales_loco = false;
  8. }
  9. }
  10. for (int i = 1; i < (im_grande->height - 1); i++) {//A este for le faltaban las llaves en el original. Seguramente fuera un fallo pero mejor tenerlo en cuenta
  11. for (int j = 1; j < (im_grande->width - 1); j++) {
  12. if (im3->row_pointers[i][j] != im3_parallel_load->row_pointers[i][j]) iguales_reparto = false;
  13. if (im3->row_pointers[i][j] != im3_parallel_multiPackage->row_pointers[i][j]) iguales_multipackage = false;
  14. }
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement