Re: [eigen] Re: SparseQR crashes on rectangular matrix |

[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]

*To*: eigen <eigen@xxxxxxxxxxxxxxxxxxx>*Subject*: Re: [eigen] Re: SparseQR crashes on rectangular matrix*From*: Gael Guennebaud <gael.guennebaud@xxxxxxxxx>*Date*: Thu, 12 Sep 2013 22:37:32 +0200*Dkim-signature*: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=PpkGfsq16OddX4Vy7zDqA8ERvSYcqvbm8x2XCvgB+wU=; b=X/GtD8aU9wcP3me1aWH4mCTNl2u2fn7or26aoVPu0AEfXvuNbTL5QNXKogSZbz26vp AKwC0wdsE1+m6JaFt71IIcebV5Xrt48dhg3k2cgDkiL4pwGOybQxOAR8jQVCJ+MsMCWx f2Ffitsk7CojLX4HJXXQxo2X5YXh1eBCeM0VsHOy5FepZWsiaDe5kUFACgfjFL8VNuHg dNu49kXx60MlVmvSal1JdP1xHMiykiw0OEobHqkkx3hOfZRzqidikjVvyppQoNot0HwA M7Itvor9giiqaYFUD0nrQxlgZy2FHC42vyJwvuzOsEnKgPna52rOVwVvNfUxKYgqhQQv y+CQ==

I guess you compiled with -DNDEBUG because all these out of bounds accesses are caught by asserts here. They are fixed in the devel and 3.2 branch, and SparseQR works for me with rows<cols.

Regarding AmbiVector, replacing allocations by operator new with malloc, plus a few inplace construct and destruct should do the job.

cheers,

gael

**Follow-Ups**:**Re: [eigen] Re: SparseQR crashes on rectangular matrix***From:*Pavel Holoborodko

**References**:**[eigen] SparseQR crashes on rectangular matrix***From:*Pavel Holoborodko

**[eigen] Re: SparseQR crashes on rectangular matrix***From:*Pavel Holoborodko

**Re: [eigen] Re: SparseQR crashes on rectangular matrix***From:*Gael Guennebaud

**Re: [eigen] Re: SparseQR crashes on rectangular matrix***From:*Pavel Holoborodko

**Re: [eigen] Re: SparseQR crashes on rectangular matrix***From:*Pavel Holoborodko

**Messages sorted by:**[ date | thread ]- Prev by Date:
**Re: [eigen] Re: SparseQR crashes on rectangular matrix** - Next by Date:
**[eigen] arm64 support** - Previous by thread:
**Re: [eigen] Re: SparseQR crashes on rectangular matrix** - Next by thread:
**Re: [eigen] Re: SparseQR crashes on rectangular matrix**

Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |