Skip to content
Snippets Groups Projects
Commit 769df9c3 authored by Houtan Bastani's avatar Houtan Bastani
Browse files

reporting: fix bug causing directory to be ignored if figname option was passed to addGraph

parent 96d3cb96
No related branches found
No related tags found
No related merge requests found
......@@ -40,6 +40,8 @@ end
if isempty(o.figname)
o.figname = sprintf('%s/pg%d_sec%d_row%d_col%d.tex', o.figDirName, pg, sec, row, col);
else
o.figname = [o.figDirName '/' o.figname];
end
[fid, msg] = fopen(o.figname, 'w');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment