Commit 3c49bca6 by Wenzel Jakob Committed by GitHub

Merge pull request #358 from aldanor/bugfix/icpc-numpy

Fix dtype::strip_padding() on Intel compiler
parents 69b62466 d8b11b87
...@@ -191,7 +191,7 @@ private: ...@@ -191,7 +191,7 @@ private:
std::sort(field_descriptors.begin(), field_descriptors.end(), std::sort(field_descriptors.begin(), field_descriptors.end(),
[](const field_descr& a, const field_descr& b) { [](const field_descr& a, const field_descr& b) {
return (int) a.offset < (int) b.offset; return a.offset.cast<int>() < b.offset.cast<int>();
}); });
list names, formats, offsets; list names, formats, offsets;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment