Sylvester error

This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location where you will have to reset your password.
Forum rules
This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location (https://forum.dynare.org) where you will have to reset your password.

Sylvester error

Postby jasierra » Tue Jun 19, 2007 2:47 am

Hi all,

I am getting the following error when I run my code in dynare++- 1.3.2

>> !dynare++ seppala.mod
^^^Caught Sylv exception: At Vector.cpp:95:Attempt to assign vectors with different lengths.

If anybody knows what this means, please let me know.
Any help would be greatly appreciated
I am attaching a copy of my.mod file in case somebody has an idea of where the error might be.

Thanks a lot,
Jesus
Attachments
seppala.mod
(4.13 KiB) Downloaded 89 times
jesus.
jasierra
 
Posts: 4
Joined: Sat Mar 10, 2007 11:49 pm

Postby OndraKamenik » Tue Jun 19, 2007 7:40 am

Jesus,

This must be dynare++ bug. I will look at it and let you know.

thanks

Ondra K.
OndraKamenik
 
Posts: 73
Joined: Mon Dec 20, 2004 8:32 am

Postby OndraKamenik » Wed Jul 11, 2007 1:09 pm

Jesus,

the error is in the specification of vcov matrix. It cannot contain expressions. For example 0.0035^2 is illegal, instead you must write 0.00001225.

Dynare++ skips over the expression and parses only numbers. The parsed vcov matrix is not square then and the exception is thrown.

I will try to fix it by raising a parsing error exception.

Ondra K.
OndraKamenik
 
Posts: 73
Joined: Mon Dec 20, 2004 8:32 am


Return to Dynare help

Who is online

Users browsing this forum: Google [Bot] and 7 guests