[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [eigen] Multiarray
- From: Benoit Jacob <jacob.benoit.1@xxxxxxxxx>
- Date: Sat, 7 Feb 2009 16:04:05 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=0mV6fs4yu5IxMNeBs+e8irqzsIA4RkIHDPLcjjpvDLs=; b=t+/Sh8tGMLEmns6/pIo9ClCzHE4fr8LeZN46x5zMWH/CKa82Pw3xytK/Y31MIhkVF0 AcwlToaarTo3+JE7NvJpbU4MCQerhzsdXxLoWHYtVDtYopgUmq4EVZdFv7YjEq3LroDg c8Lt05CRm/DIVda+HBwSXv2cyoSNk9RGP2RZ8=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=t5UI1phd6A8VcVEksftdGtwIrRzksYhShHGAjGpHlwbM88gFBc0oL61u7V/rEocigT 157Lsff+c6Nlw4zpvoCwZlAfhp6hXCeDm9RDA8BEGsAsdxynLaE1QhIJLuaQWiR4f4tK NL7gMp70TGX2J6iseUl7lHb71Pb8NYFocw+pQ=
Can you retry now? Gael has made a change so that it is now allowed to
resize to size 0.
2009/1/30 Stefan Ulbrich <s.ulbrich@xxxxxxxxxxxxxx>:
> Hello,
>
> First thank you very much for this great library!
>
> I want to store dynamically sized matrices in a boost::multi_array :
>
> boost::multi_array<MatrixXd, 2> B(boost::extents[3][3]);
>
> At runtime I get the following error from this call
>
> Assertion failed: (rows > 0 && cols > 0 && "a matrix cannot be
> resized to 0 size"), function resize, file
> /usr/local/include/Eigen/src/Core/Matrix.h, line 229.
>
> Has anybody an idea how to solve this problem?
>
> Tank you alot in advance,
>
> Stefan
>
>