Commit d8b11b87 by Ivan Smirnov

Fix dtype::strip_padding() on Intel compiler

parent 69b62466
...@@ -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