New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
remove function calls to SVD #614
remove function calls to SVD #614
Conversation
* introduce sub function that returns a small data table * all svd calls are replaced * this should hopefully partially resolve issues, observed e.g. in matlab2tikz#590 and matlab2tikz#604
|
Failing tests: Unfortunately Different coordinate locations. Any ideas? This test is marked as unreliable in |
|
How should we proceed? |
|
I reckon there are two things to do first:
Basically, this PR will then address partially #552 and #414. |
|
Sounds reasonable. Good point especially about removing |
|
I think so, but I am afraid is gonna be hard 😅 now that I realize what it entails. |
|
:-/ A lot more hash calculation fun... I really hope it is worth the effort and we are rewarded by testsuite stability. Actually I would not remove calls to |
|
Oh, I'll wait for a short comment of @egeerardyn, so we agree on course of action. |
|
With regards to Anyhow, I think we should keep our limited When (not if) we remove Regarding the axes dimensions: I think that we always calculate their size, as long as it is specified in a valid LaTeX format, so that course of action is probably not helping anything. But let's discuss this in a separate issue report and keep this one focussed on the current changes. If the test is still unreliable, so be it and let's inspect this one later on. I am in favor of removing |
add comments
|
Let's keep this PR's scope limited to I restored the If no further issues arise, I consider this ready. |
|
Please let's first get #590 in. I will then merge |
…e_numerical_issues Conflicts: test/suites/ACID.MATLAB.8.3.md5 test/suites/ACID.MATLAB.8.4.md5 test/suites/ACID.Octave.3.8.0.md5 test/suites/ACID.m
octave 3.8.2 R2014b R2014a from Xubuntu 12.04
|
I merged |
reason for fail: different `width`; should be fixed/improved by matlab2tikz#604 diff: --- mine/test34-converted.tex +++ travis/test34-converted.tex @@ -1,3 +1,4 @@ +%%%% BEGIN FILE "data/converted/test34-converted.tex" %%%% % This file was created by matlab2tikz. % \documentclass[tikz]{standalone} @@ -18,9 +19,9 @@ \begin{tikzpicture} \begin{axis}[% -width=0.400089\figurewidth, -height=0.415744\figureheight, -at={(0\figurewidth,0.584256\figureheight)}, +width=0.410625\figurewidth, +height=0.418605\figureheight, +at={(0\figurewidth,0.581395\figureheight)}, scale only axis, point meta min= 0, point meta max= 1, @@ -222,9 +223,9 @@ \end{axis} \begin{axis}[% -width=0.400089\figurewidth, -height=0.415744\figureheight, -at={(0.584256\figurewidth,0.584256\figureheight)}, +width=0.410625\figurewidth, +height=0.418605\figureheight, +at={(0.540296\figurewidth,0.581395\figureheight)}, scale only axis, point meta min= 0, point meta max= 1, @@ -426,8 +427,8 @@ \end{axis} \begin{axis}[% -width=0.400089\figurewidth, -height=0.415744\figureheight, +width=0.410625\figurewidth, +height=0.418605\figureheight, at={(0\figurewidth,0\figureheight)}, scale only axis, point meta min= 0, @@ -540,9 +541,9 @@ \end{axis} \begin{axis}[% -width=0.400089\figurewidth, -height=0.415744\figureheight, -at={(0.584256\figurewidth,0\figureheight)}, +width=0.410625\figurewidth, +height=0.418605\figureheight, +at={(0.540296\figurewidth,0\figureheight)}, scale only axis, point meta min= 0, point meta max= 1, @@ -653,4 +654,6 @@ }; \end{axis} \end{tikzpicture}% -\end{document} +\end{document} + +%%%% END FILE "data/converted/test34-converted.tex" %%%%
…into remove_svd_reduce_numerical_issues
…ssues remove function calls to SVD
Should partially fix #414.