# | Line 301 | Line 301 | cvmeshbounds() /* set mesh boundaries */ | |
---|---|---|
301 | ourmesh->uvlim[1][0] = ourmesh->uvlim[1][1] = 0.; | |
302 | } else { | |
303 | for (i = 0; i < 2; i++) { | |
304 | < | double marg; |
305 | < | marg = 1e-6*(ourmesh->uvlim[1][i] - |
306 | < | ourmesh->uvlim[0][i]); |
304 | > | double marg; /* expand past endpoints */ |
305 | > | marg = (2./(1L<<(8*sizeof(uint16)))) * |
306 | > | (ourmesh->uvlim[1][i] - |
307 | > | ourmesh->uvlim[0][i]); |
308 | ourmesh->uvlim[0][i] -= marg; | |
309 | ourmesh->uvlim[1][i] += marg; | |
310 | } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |