[Bug 517] New: Getting submatrix fails in BOOST

For more infomation about this bug, visit
Summary: Getting submatrix fails in BOOST
Product: BFL
Version: trunk
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: wrappers
AssignedTo: bfl [..] ...
ReportedBy: tinne [dot] delaet [..] ...
CC: bfl [..] ...
Estimated Hours: 0.0

If you want to get a submatrix, not starting at the begin of the rows/columns,
the method failes.

e.g: matrix.sub(1,3,2,3)

Tinne

[Bug 517] Getting submatrix fails in BOOST

For more infomation about this bug, visit

Tinne De Laet <tinne [dot] delaet [..] ...> changed:

What |Removed |Added
--------------------------------------------------------------------------
Status|REOPENED |RESOLVED
Resolution| |FIXED

--- Comment #5 from Tinne De Laet <tinne [dot] delaet [..] ...> 2008-03-26 09:31:21 ---
Proposed patches applied in revision 29116.
(both tested for boost and lti)

Sending src/wrappers/matrix/matrix_BOOST.cpp
Sending src/wrappers/matrix/vector_BOOST.cpp
Sending tests/matrixwrapper_test.cpp
Transmitting file data ...
Committed revision 29116.

Tinne

[Bug 517] Getting submatrix fails in BOOST

For more infomation about this bug, visit

Klaas Gadeyne <klaas [dot] gadeyne [..] ...> changed:

What |Removed |Added
--------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |
CC| |klaas [dot] gadeyne [..] ...
Target Milestone|0.6.2 |0.6.1

--- Comment #4 from Klaas Gadeyne <klaas [dot] gadeyne [..] ...> 2008-02-21 14:20:22 ---
Reopening so we don't forget about this one (see patch)

[Bug 517] Getting submatrix fails in BOOST

For more infomation about this bug, visit

--- Comment #3 from Klaas Gadeyne <klaas [dot] gadeyne [..] ...> 2008-02-21 14:18:04 ---
Created an attachment (id=240)
--> (https://www.fmtc.be/bugzilla/orocos/attachment.cgi?id=240)
It does (partly), as good unit tests show (I think :-)

The following patch
- Modifies the units test so it covers the first bug
- Modifies similar unittests for SymmetricMatrix, Column- and Rowvectors
- Fixes similar bugs in those implementations

Note that
- this patch also reverts 28938, to check that all goes well, so please undo
this one
- I only ran the tests for boost ATM

[Bug 517] Getting submatrix fails in BOOST

For more infomation about this bug, visit

Tinne De Laet <tinne [dot] delaet [..] ...> changed:

What |Removed |Added
--------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED

--- Comment #2 from Tinne De Laet <tinne [dot] delaet [..] ...> 2008-02-21 12:44:29 ---
Patch applied in revision 28989.

Sending matrix/matrix_BOOST.cpp
Transmitting file data .
Committed revision 28989.

[Bug 517] Getting submatrix fails in BOOST

For more infomation about this bug, visit

Tinne De Laet <tinne [dot] delaet [..] ...> changed:

What |Removed |Added
--------------------------------------------------------------------------
Status|NEW |ASSIGNED
AssignedTo|bfl [..] ... |tinne [dot] delaet [..] ...en.b
| |e

--- Comment #1 from Tinne De Laet <tinne [dot] delaet [..] ...> 2008-02-21 12:43:07 ---
Created an attachment (id=239)
--> (https://www.fmtc.be/bugzilla/orocos/attachment.cgi?id=239)
this should solve the bug