Group :: Sciences/Mathematics
RPM: octave-fits
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: octave-fits-MArray.patch
Download
Download
--- a/fits/src/read_fits_image.cc 2013-07-30 04:15:20.000000000 +0000
+++ b/fits/src/read_fits_image.cc 2014-01-14 16:49:18.497764834 +0000
@@ -136,11 +136,7 @@
}
//std::cerr << "read_sz: " << read_sz << std::endl;
- #if OCTAVE_API_VERSION_NUMBER >= 45
- MArray<double> image_data( dims ); // a octace double-type array
- #else
- MArrayN<double> image_data( dims ); // a octave double-type array
- #endif
+ MArray<double> image_data( dims ); // a octave double-type array
int type = TDOUBLE; // convert read data to double (done by libcfitsio)
std::vector<long> fpixel(num_axis,1); // start at first pixel in all axes