Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Dynare
dseries
Commits
f3544c6a
Commit
f3544c6a
authored
Oct 21, 2016
by
Houtan Bastani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix for Octave 4.2.0
(cherry picked from commit
744f13af
)
parent
ef98374e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
6 deletions
+2
-6
src/utilities/str/name2tex.m
src/utilities/str/name2tex.m
+2
-6
No files found.
src/utilities/str/name2tex.m
View file @
f3544c6a
...
...
@@ -11,7 +11,7 @@ function tex = name2tex(name, info) % --*-- Unitary tests --*--
% OUTPUTS
% - tex [string or cell of strings]
% Copyright (C) 2012-201
5
Dynare Team
% Copyright (C) 2012-201
6
Dynare Team
%
% This code is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
...
...
@@ -38,11 +38,7 @@ if info
end
end
if
isoctave
tex
=
regexprep
(
name
,
'_'
,
'\_'
);
else
tex
=
regexprep
(
name
,
'_'
,
'\\_'
);
end
tex
=
regexprep
(
name
,
'_'
,
'\\_'
);
if
info
for
i
=
1
:
nn
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment