ext/nmatrix/storage/common.h in nmatrix-lapacke-0.2.0 vs ext/nmatrix/storage/common.h in nmatrix-lapacke-0.2.1
- old
+ new
@@ -30,10 +30,11 @@
/*
* Standard Includes
*/
+#include <ruby.h>
#include <cmath> // pow().
/*
* Project Includes
*/
@@ -55,12 +56,12 @@
STORAGE* left;
STORAGE* right;
};
struct SLICE {
- size_t* coords; // Coordinate of first element
- size_t* lengths; // Lengths of slice
- bool single; // true if all lengths equal to 1 (represents single matrix element)
+ size_t* coords; // Coordinate of first element
+ size_t* lengths; // Lengths of slice
+ bool single; // true if all lengths equal to 1 (represents single matrix element)
};
/*
* Data
*/