Bug 377773

Summary: Wrong output for matrices
Product: [Applications] cantor Reporter: Alexander Semke <alexander.semke>
Component: julia-backendAssignee: Ivan Lakhtanov <ivan.lakhtanov>
Status: RESOLVED FIXED    
Severity: normal CC: filipe
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 18.04.2

Description Alexander Semke 2017-03-18 14:18:33 UTC
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.
Comment 1 Ivan Lakhtanov 2017-04-02 20:30:59 UTC
*** Bug 377774 has been marked as a duplicate of this bug. ***
Comment 2 Ivan Lakhtanov 2017-04-02 20:44:37 UTC
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
Comment 3 Nikita Sirgienko 2018-06-01 16:01:28 UTC
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
Comment 4 Alexander Semke 2018-06-03 08:28:39 UTC
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