Commit 8aab45ce authored by ferhat's avatar ferhat
Browse files

Suppress the addpath command before the call to Bicgstab

git-svn-id: https://www.dynare.org/svn/dynare/dynare_v4@2174 ac1d8469-bf42-47a9-8791-bf33cf982152
parent b034ca65
......@@ -3105,10 +3105,10 @@ ModelTree::writeSparseDynamicFileAndBinFile(const string &dynamic_basename, cons
nze+=block_triangular.ModelBlock->Block_List[i].IM_lead_lag[m].size;
mDynamicModelFile << " Jacobian_Size=" << block_triangular.ModelBlock->Block_List[i].Size << "*(y_kmin+" << block_triangular.ModelBlock->Block_List[i].Max_Lead << " +periods);\n";
mDynamicModelFile << " g1=spalloc( length(y_index)*periods, Jacobian_Size, " << nze << "*periods" << ");\n";
mDynamicModelFile << " cpath=path;\n";
mDynamicModelFile << " addpath(fullfile(matlabroot,'toolbox','matlab','sparfun'));\n";
/*mDynamicModelFile << " cpath=path;\n";
mDynamicModelFile << " addpath(fullfile(matlabroot,'toolbox','matlab','sparfun'));\n";*/
mDynamicModelFile << " bicgstabh=@bicgstab;\n";
mDynamicModelFile << " path(cpath);\n";
//mDynamicModelFile << " path(cpath);\n";
mDynamicModelFile << sp << " reduced = 0;\n";
//mDynamicModelFile << " functions(bicgstabh)\n";
if (!block_triangular.ModelBlock->Block_List[i].is_linear)
......
Supports Markdown
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