make type order more consistent

This commit is contained in:
hans.dembinski@gmail.com
2017-02-02 10:54:19 +00:00
parent afd7f9db21
commit 9a93a7397a
4 changed files with 117 additions and 145 deletions

View File

@@ -245,7 +245,7 @@ struct storage_access {
python::list shapes;
python::list strides;
std::size_t stride = 1;
if (b.type_.id_ == -1) {
if (b.type_.id_ == 6) {
stride *= sizeof(double);
d["typestr"] = python::str("|f") + python::str(stride);
strides.append(stride);