| Summary: | Wrong output for matrices | ||
|---|---|---|---|
| Product: | [Applications] cantor | Reporter: | Alexander Semke <alexander.semke> |
| Component: | julia-backend | Assignee: | Ivan Lakhtanov <ivan.lakhtanov> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | filipe |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | https://commits.kde.org/cantor/26a0e4106a0d4633f9590bd182e44c3d5fb2171d | Version Fixed/Implemented In: | 18.04.2 |
| Sentry Crash Report: | |||
*** Bug 377774 has been marked as a duplicate of this bug. *** I've done fast fix. Were using jl_static_show to display resulting values, now using 'display' function as native REPL do. Patch: https://phabricator.kde.org/D5283 Git commit 1bc5d71f3cf4e1c200989cdb021cab87ecf1ca50 by Nikita Sirgienko. Committed on 01/06/2018 at 16:00. Pushed by sirgienko into branch 'master'. Fix julia output: change display function from jl_static_show to 'display' FIXED-IN: 18.04.2 Differential Revision: https://phabricator.kde.org/D13256 M +3 -1 src/backends/julia/juliaserver/juliaserver.cpp https://commits.kde.org/cantor/1bc5d71f3cf4e1c200989cdb021cab87ecf1ca50 Git commit 26a0e4106a0d4633f9590bd182e44c3d5fb2171d by Alexander Semke, on behalf of Nikita Sirgienko. Committed on 03/06/2018 at 08:28. Pushed by asemke into branch 'Applications/18.04'. Fix julia output: change display function from jl_static_show to 'display' FIXED-IN: 18.04.2 Differential Revision: https://phabricator.kde.org/D13256 M +3 -1 src/backends/julia/juliaserver/juliaserver.cpp https://commits.kde.org/cantor/26a0e4106a0d4633f9590bd182e44c3d5fb2171d |
matrices like mat=[1 2 3;4 5 6] are interpreted and shown in the output of the command entry as Array{Int64, 2}[1, 4, 2, 5, 3, 6] and not as 2x3 Array{Int64,2}. Similar for matrices created via zeros and ones, e.g. zeros(2,2), ones(2,2), etc.