Commit e793fc8a authored by ferhat's avatar ferhat
Browse files

Minor corrections on multiprocessing in simulate

git-svn-id: https://www.dynare.org/svn/dynare/trunk@2464 ac1d8469-bf42-47a9-8791-bf33cf982152
parent 1e9e7307
......@@ -453,14 +453,12 @@ VariableNode::compile(ofstream &CompileCode, bool lhs_rhs, ExprNodeOutputType ou
break;
case eEndogenous :
i = symb_id + OFFSET(output_type);
printf("endogenous i=%d\n",i);
CompileCode.write(reinterpret_cast<char *>(&i), sizeof(i));
lagl=lag;
CompileCode.write(reinterpret_cast<char *>(&lagl), sizeof(lagl));
break;
case eExogenous :
i = tsid + OFFSET(output_type);
printf("exogenous i=%d\n",i);
CompileCode.write(reinterpret_cast<char *>(&i), sizeof(i));
lagl=lag;
CompileCode.write(reinterpret_cast<char *>(&lagl), sizeof(lagl));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment