Page 1 of 1

Bug in function GiveCPUnumber, Dynare 4.3.0

PostPosted: Wed Jun 27, 2012 12:47 pm
by mferraz
Hi,

I've tried to use the parallel_test command, but 'Ive encountered the following error message:
??? Error using ==> GiveCPUnumber
Too many input arguments.

The cause is that the header of the function is:
function [nCPU]= GiveCPUnumber (ComputerInformations)
but instead it should be
function [nCPU]= GiveCPUnumber (ComputerInformations, varargin)

After the fix, it worked properly.
Well, hope this is useful.

Regards,

Jose Euclides

Re: Bug in function GiveCPUnumber, Dynare 4.3.0

PostPosted: Mon Jul 02, 2012 10:41 am
by jpfeifer
Thanks for noticing. It has been fixed and will appear in tomorrow's snapshot.