Skip to content
This repository has been archived by the owner on Apr 16, 2018. It is now read-only.

octave-sage.sagews example displaying problems #191

Open
henczati opened this issue Feb 13, 2015 · 0 comments
Open

octave-sage.sagews example displaying problems #191

henczati opened this issue Feb 13, 2015 · 0 comments

Comments

@henczati
Copy link

When I open cloud-examples/octave/octave-sage.sagews, there are some displaying problems.
Some inputs seem to be executed twice and the outputs in some cases get shifted to the next cell, in some cases are not displayed at all.
E.g.:

 95: M = rand(5)
 96: <output of rand(5)>
 97: ---
 98: M(2:5,1:3)   % a 4 x 3 submatrix of M
 99: <output of rand(5), but with different values than before, indicating repeated execution>
100: ---
101: M(:,4)       % 4th column of M
102: <output of M(2:5,1:3), having the values from the 2nd execution of rand(5)>
103: ---
104: M(2:4,:)     % the second through fourth rows of M as a submatrix
105: <output of M(:,4), having the values from the 2nd execution of rand(5)>

The output of M(2:4,:) from line 104 never gets displayed.

The same thing happens again starting from line 112-115: on line 116 eye(4) is executed again instead of zeros(2,5), shifting starts from there, and the output of diag([1,2,3]) on line 130 never gets displayed.

Interestingly, in both cases there is one initial repetition, then 2 shifted results, then one which is not shown.

I have not searched for every occurance, but it happens again later. E.g. line 157 shows the output of A = inv(M); A from line 148 again.

Edit:
Also, the figures (in the bottom of the worksheet) are not displayed. Looks like the image files do not exist.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant