From 324a4dfac59079661e25c7597f5252f05e6acdb0 Mon Sep 17 00:00:00 2001 From: Brad Deutsch Date: Mon, 22 Jun 2015 11:59:30 -0500 Subject: [PATCH] sift-mask in main now changes samples and rows in header file. --- stim/envi/bip.h | 2 +- stim/envi/envi.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/stim/envi/bip.h b/stim/envi/bip.h index 3f7a847..d89ac59 100644 --- a/stim/envi/bip.h +++ b/stim/envi/bip.h @@ -958,7 +958,7 @@ public: { tempZ[k] = temp[i*R[2] + k]; //Pass the correct spectral value from XZ page into the spectrum to be saved. } - target.write(reinterpret_cast(tempZ), LZ); //write that spectrum to disk. Size is L2. + target.write(reinterpret_cast(tempZ), LZ); //write that spectrum to disk. Size is LZ. } else continue; diff --git a/stim/envi/envi.h b/stim/envi/envi.h index f1dddaa..8432af5 100644 --- a/stim/envi/envi.h +++ b/stim/envi/envi.h @@ -407,6 +407,7 @@ public: std::cout << "ERROR: unidentified file type" << std::endl; exit(1); } + ///make new header and save here return false; } -- libgit2 0.21.4