Re: [Lapackpp-devel] assert(cI.end() >= 0) (was: Interesting crash in QR solve)
Status: Beta
Brought to you by:
cstim
From: Christian S. <sti...@tu...> - 2006-07-14 08:48:20
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Dear Michael, thank you for your nice feedback. I'd happily try to fix these bugs, although I probably need some assistance to track them down. I'll reply to both bugs in individual posts; first this one: Michael Price schrieb: > situations: printing out matrices, and linear systems solution. (I > don't remember seeing the problem when using LU, only QR and SVD.) > First, sometimes the assertion > > assert(cI.end() >= 0); (mtmpl.h, line 279) > > fails. This assertion should only be reached when you used negative increments for a submatrix index; do you really use negative increments? I would certainly agree that several functions have never been tested with negative increments, only with positive ones, so there can very well be a bug in there. The assertion is perfectly valid and if it fails then it means that probably somewhere else some code is wrong if the increments are negative (instead of positive). Could you submit a code snippet that crashes with that assertion? Thanks. Christian -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.1 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iQCVAwUBRLdaCWXAi+BfhivFAQIEswQAkESe67QTy0wCivjUL2bbvCxgFN/lyLtu KCTU3I7A9hxJ/UVlOprWmKcNBexcxL5/VW7T+i54O7Ud1YEqHZIzZfokIgE5rnMs YWgPIuE9Qb4JseMzSYXAxZ4oS/WGwWB3RKAswcdgoKg3WQItrIEOd9ylj9eaqtrr C/Iyc26xiW4= =toTa -----END PGP SIGNATURE----- |