Commit e9a4e5e1 authored by sebastien's avatar sebastien
Browse files

Workaround for Octave 3.2.0:

In Octave 3.2.0, the which() function doesn't accept filenames, but accepts function names.
This bug will be fixed in Octave 3.2.1, but this workaround solves the issue.

git-svn-id: ac1d8469-bf42-47a9-8791-bf33cf982152
parent 37745150
......@@ -35,7 +35,7 @@ function dynareroot = dynare_config(path_to_dynare)
if nargin
dynareroot = strrep(which('dynare.m'),'dynare.m','');
dynareroot = strrep(which('dynare'),'dynare.m','');
addpath([dynareroot '/distributions/'])
addpath([dynareroot '/kalman/'])
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