Fixed bug.
parent
3545be0226
commit
9b9fb7df3a
|
@ -41,6 +41,8 @@ function dynInfo(fun)
|
|||
% You should have received a copy of the GNU General Public License
|
||||
% along with Dynare. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
dynare_config([],0);
|
||||
|
||||
[pathstr, name, ext] = fileparts(which(fun));
|
||||
if strcmp(ext(2:end),'m')
|
||||
block = get_internal_doc_block(name,pathstr);
|
||||
|
|
|
@ -41,7 +41,10 @@ function dynTest(fun)
|
|||
% You should have received a copy of the GNU General Public License
|
||||
% along with Dynare. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
dynare_config([],0);
|
||||
|
||||
[pathstr, name, ext] = fileparts(which(fun));
|
||||
|
||||
if ~( isempty(pathstr) || isempty(name) || isempty(ext) ) && strcmp(ext(2:end),'m')
|
||||
check = mtest(name,pathstr);
|
||||
if check
|
||||
|
|
Loading…
Reference in New Issue