Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ext/gsl_native/dht.c
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ static VALUE rb_gsl_dht_xk_sample(VALUE obj, VALUE n,
}
return ary;
#endif
#ifdef HAVE_NARRAY_H
#ifdef HAVE_NMATRIX_H
} else if (NM_IsNMatrix(n)) {
NM_DENSE_STORAGE *nm;
int *ptr;
Expand Down
4 changes: 2 additions & 2 deletions ext/gsl_native/spline.c
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ static VALUE rb_gsl_spline_init(VALUE obj, VALUE xxa, VALUE yya)
size = nax->total;
ptr1 = (double *) nax->ptr;
#endif
#ifdef HAVE_NARRAY_H
#ifdef HAVE_NMATRIX_H
} else if (NM_IsNMatrix(xxa)) {
NM_DENSE_STORAGE *nmx = NULL;
nmx = NM_STORAGE_DENSE(xxa);
Expand All @@ -108,7 +108,7 @@ static VALUE rb_gsl_spline_init(VALUE obj, VALUE xxa, VALUE yya)
ptr2 = (double *) nay->ptr;
#endif

#ifdef HAVE_NARRAY_H
#ifdef HAVE_NMATRIX_H
} else if (NM_IsNMatrix(yya)) {
NM_DENSE_STORAGE *nmy;
nmy = NM_STORAGE_DENSE(yya);
Expand Down