Commit 324a4dfac59079661e25c7597f5252f05e6acdb0

Authored by Brad Deutsch
1 parent e843658b

sift-mask in main now changes samples and rows in header file.

Showing 2 changed files with 2 additions and 1 deletions   Show diff stats
stim/envi/bip.h
... ... @@ -958,7 +958,7 @@ public:
958 958 {
959 959 tempZ[k] = temp[i*R[2] + k]; //Pass the correct spectral value from XZ page into the spectrum to be saved.
960 960 }
961   - target.write(reinterpret_cast<const char*>(tempZ), LZ); //write that spectrum to disk. Size is L2.
  961 + target.write(reinterpret_cast<const char*>(tempZ), LZ); //write that spectrum to disk. Size is LZ.
962 962 }
963 963 else
964 964 continue;
... ...
stim/envi/envi.h
... ... @@ -407,6 +407,7 @@ public:
407 407 std::cout << "ERROR: unidentified file type" << std::endl;
408 408 exit(1);
409 409 }
  410 + ///make new header and save here
410 411 return false;
411 412 }
412 413  
... ...