ito::DataObject & operator=(ito::DataObject rhs) fails

Create issue
Issue #28 closed
M. Gronle created an issue

If this data object is a ROI of another dataObject, the assignment of rhs is not executed correctly (only in C++):

ito::DataObject a(4,3,3,ito::tFloat32);
ito::DataObject b(3,3,ito::tFloat32);
ito::Range ranges[] = {ito::Range(0,1),ito::Range::all(),ito::Range::all()};
a.at(ranges) = b; //fails, a[0,:,:] does not contain b

Comments (2)

  1. Log in to comment