Moved the TeX file closing statement outside of loop, to fix a problem with non existant file id in producing TeX output in stoch_simul

time-shift
Jacob Smith 2011-02-09 09:21:03 -05:00
parent eab7c1c6db
commit dc275f4af4
1 changed files with 5 additions and 5 deletions

View File

@ -313,11 +313,11 @@ if options_.irf
end
end
iter_ = olditer;
if TeX
fprintf(fidTeX,' \n');
fprintf(fidTeX,'%% End Of TeX file. \n');
fclose(fidTeX);
end
end
if TeX
fprintf(fidTeX,' \n');
fprintf(fidTeX,'%% End Of TeX file. \n');
fclose(fidTeX);
end
end