Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37837964
en ru br
ALT Linux repos
S:1.0.7-alt4

Group :: Sciences/Mathematics
RPM: octave-fits

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: octave-fits-MArray.patch
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
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin