Skip to content

Commit 93a7909

Browse files
committed
Reverse index/column ordering in uda_data_source set_data
1 parent ab58683 commit 93a7909

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mapping_plugin/src/uda_data_source.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ class ArrayBuilder
188188
m_data = db.data;
189189
m_size = db.data_n;
190190
m_shape.reserve(db.rank);
191-
for (int i = 0; i < db.rank; ++i) {
191+
for (unsigned int i = db.rank - 1; i >= 0; --i) {
192192
m_shape.push_back(db.dims[i].dim_n);
193193
}
194194
m_data_type = db.data_type;

0 commit comments

Comments
 (0)