← Back to team overview

yade-dev team mailing list archive

Re: Assertion `SizeAtCompileTime == Dynamic || SizeAtCompileTime == dim' failed.

 

Hi Janek,

without seeing the source code, it is difficult to say,
what is wrong here. Looks like you are trying to compare
matrices of different sizes.

You can have a look at this commit [1] which theoretically
can influence on your code. If you will find there something
wrong, let me know.

[1] https://github.com/yade/trunk/commit/4f66360db75afb82029bbe37ae4a4dac36899a33
Cheers

Anton


2015-04-29 20:09 GMT+02:00 Janek Kozicki <janek_listy@xxxxx>:
> Hi,
>
> I just merged my quantum mechanics fork with upstream, as I frequently do. And now I have this runtime error:
>
> ~/yade/install/bin$ ./yade-2015-04-29.git-5a211e8
> Welcome to Yade 2015-04-29.git-5a211e8
> python: /usr/include/eigen3/Eigen/src/Core/Matrix.h:226: Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Index) [with _Scalar = double; int _Rows = 3; int _Cols = 1; int _Options = 0; int _MaxRows = 3; int _MaxCols = 1; Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Index = long int]: Assertion `SizeAtCompileTime == Dynamic || SizeAtCompileTime == dim' failed.
> zsh: abort      ./yade-2015-04-29.git-5a211e8
>
> any hints?
> --
> Janek Kozicki                               http://janek.kozicki.pl/  |
>
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-dev
> Post to     : yade-dev@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~yade-dev
> More help   : https://help.launchpad.net/ListHelp


References