Commits

Kumar Golap authored c77629dca0a
fixed an issue that was causing some test_refimager to fail

code/synthesis/TransformMachines2/FTMachine.cc

Modified
2496 2496 }
2497 2497
2498 2498 y0(ixsub/2)=ny/2-1;
2499 2499 nysub(iysub/2)=nysub(iysub/2-1)=ny/2-1-y0(iysub/2-1);
2500 2500 for(Int k=iysub/2+1; k < iysub; ++k){
2501 2501 y0(k)=y0(k-1)+ nysub(iysub-k);
2502 2502 nysub(k)=nysub(iysub-k-1);
2503 2503 }
2504 2504 nysub(iysub-1)+=1;
2505 2505
2506 -
2506 + if(anyEQ(nxsub, 0) || anyEQ(nysub, 0))
2507 + return;
2507 2508 //cerr << " x0 " << x0 << " nxsub " << nxsub << endl;
2508 2509 //cerr << " y0 " << y0 << " nysub " << nysub << endl;
2509 2510 x0+=1;
2510 2511 y0+=1;
2511 2512 xsect_p.resize(ixsub*iysub);
2512 2513 ysect_p.resize(ixsub*iysub);
2513 2514 nxsect_p.resize(ixsub*iysub);
2514 2515 nysect_p.resize(ixsub*iysub);
2515 2516 for (Int iy=0; iy < iysub; ++iy){
2516 2517 for (Int ix=0; ix< ixsub; ++ix){

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut