--- 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 image_data( dims ); // a octace double-type array - #else - MArrayN image_data( dims ); // a octave double-type array - #endif + MArray image_data( dims ); // a octave double-type array int type = TDOUBLE; // convert read data to double (done by libcfitsio) std::vector fpixel(num_axis,1); // start at first pixel in all axes