Commit 47263b7454217550e1ff5c2d77527a4b349006bc

Authored by David Mayerich
2 parents bf23ba3c 6d247a6c

Merge branch 'kdtree'

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
stim/envi/bip.h
... ... @@ -1481,7 +1481,7 @@ public:
1481 1481 unsigned long long jump_sample = ( (Z() - b1) + b0 ) * sizeof(T);
1482 1482  
1483 1483 //distance between sample spectra in adjacent lines
1484   - unsigned long long jump_line = (X() - x1) * Z() * sizeof(T);
  1484 + unsigned long long jump_line = ( X() - x1 + x0 ) * Z() * sizeof(T);
1485 1485  
1486 1486  
1487 1487 //unsigned long long sp = y0 * X() + x0; //start pixel
... ...