ext/gsl_native/gsl.c in gsl-1.16.0.6 vs ext/gsl_native/gsl.c in gsl-2.1.0

- old
+ new

@@ -7,10 +7,11 @@ under the terms of the GNU General Public License. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY. */ +#include "gsl_config.h" #include "include/rb_gsl.h" #include <gsl/gsl_machine.h> ID rb_gsl_id_beg, rb_gsl_id_end, rb_gsl_id_excl, rb_gsl_id_to_a; static ID rb_gsl_id_name, rb_gsl_id_size; @@ -136,9 +137,13 @@ Init_gsl_ieee(mgsl); #ifdef HAVE_NARRAY_H Init_gsl_narray(mgsl); +#endif + +#ifdef HAVE_NMATRIX_H + Init_gsl_nmatrix(mgsl); #endif Init_wavelet(mgsl); rb_gsl_define_const(mgsl);