Markus Mottl avatar Markus Mottl committed 7c9e89a

Workaround for OCaml performance bug wrt. bigarray access

Comments (0)

Files changed (4)

 
 type prec = complex32_elt
 type num_type = Complex.t
-type vec = (Complex.t, prec, fortran_layout) Array1.t
+type vec = (Complex.t, complex32_elt, fortran_layout) Array1.t
 type rvec = (float, float32_elt, fortran_layout) Array1.t
-type mat = (Complex.t, prec, fortran_layout) Array2.t
+type mat = (Complex.t, complex32_elt, fortran_layout) Array2.t
 
 type trans3 = [ `N | `T | `C ]
 
 
 type prec = complex64_elt
 type num_type = Complex.t
-type vec = (Complex.t, prec, fortran_layout) Array1.t
+type vec = (Complex.t, complex64_elt, fortran_layout) Array1.t
 type rvec = (float, float64_elt, fortran_layout) Array1.t
-type mat = (Complex.t, prec, fortran_layout) Array2.t
+type mat = (Complex.t, complex64_elt, fortran_layout) Array2.t
 
 type trans3 = [ `N | `T | `C ]
 
 
 type prec = float32_elt
 type num_type = float
-type vec = (float, prec, fortran_layout) Array1.t
-type rvec = (float, float32_elt, fortran_layout) Array1.t
-type mat = (float, prec, fortran_layout) Array2.t
+type vec = (float, float32_elt, fortran_layout) Array1.t
+type rvec = vec
+type mat = (float, float32_elt, fortran_layout) Array2.t
 
 type trans3 = [ `N | `T ]
 
 
 type prec = float64_elt
 type num_type = float
-type vec = (float, prec, fortran_layout) Array1.t
-type rvec = (float, float64_elt, fortran_layout) Array1.t
-type mat = (float, prec, fortran_layout) Array2.t
+type vec = (float, float64_elt, fortran_layout) Array1.t
+type rvec = vec
+type mat = (float, float64_elt, fortran_layout) Array2.t
 
 type trans3 = [ `N | `T ]
 
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.