Commit c4dd399abad493a1e8d4e190fdbb7c75e2c5e423
1 parent
735a2a24
fixed a Linux compiler bug
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
stim/envi/envi.h
@@ -1202,7 +1202,7 @@ public: | @@ -1202,7 +1202,7 @@ public: | ||
1202 | template<typename T> | 1202 | template<typename T> |
1203 | void spectrum(T* ptr, unsigned long long x, unsigned long long y, bool PROGRESS = false){ | 1203 | void spectrum(T* ptr, unsigned long long x, unsigned long long y, bool PROGRESS = false){ |
1204 | 1204 | ||
1205 | - spectrum<T>(ptr, y * header.samples + x, PROGRESS = false); | 1205 | + spectrum<T>(ptr, y * header.samples + x, PROGRESS); |
1206 | /*void* temp = alloc_array<T>(header.bands); //allocate space for the output array | 1206 | /*void* temp = alloc_array<T>(header.bands); //allocate space for the output array |
1207 | 1207 | ||
1208 | if(header.interleave == envi_header::BSQ){ //if the infile is bsq file | 1208 | if(header.interleave == envi_header::BSQ){ //if the infile is bsq file |