Quantcast

test gallery FAIL?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

test gallery FAIL?

Dmitri A. Sergatskov
It looks to me that after

Change #2878

Category None
Changed by Carnë Draug <[hidden email]>
Changed at Mon 10 Apr 2017 14:00:25
Repository http://hg.savannah.gnu.org/hgweb/octave
Project octave
Branch default
Revision e15ffa2b22620215c260c5cbb63690d858a4c55e

Comments

gallery: use broadcasting to generate cauchy and fiedler matrices

Changed files

  • scripts/special-matrix/gallery.m

test gallery started failing:
***** test
 exp = [
   0   1   2   3   4
   1   0   1   2   3
   2   1   0   1   2
   3   2   1   0   1
   4   3   2   1   0];
 assert (gallery ("fiedler", 5), exp)
 assert (gallery ("fiedler", 1:5), exp)
 assert (gallery ("fiedler", -2:2), exp)
 assert (gallery ("fiedler", 2:4), exp(1:4,1:4))
!!!!! test failed
ASSERT errors for:  assert (gallery ("fiedler", 2:4),exp (1:4, 1:4))

  Location  |  Observed  |  Expected  |  Reason
     .          O(3x3)       E(4x4)      Dimensions don't match


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: test gallery FAIL?

Carnë Draug
On 11 April 2017 at 19:18, Dmitri A. Sergatskov <[hidden email]> wrote:

>
> It looks to me that after
>
> Change #2878
>
> Category None
> Changed by Carnë Draug <[hidden email]>
> Changed at Mon 10 Apr 2017 14:00:25
> Repository http://hg.savannah.gnu.org/hgweb/octave
> Project octave
> Branch default
> Revision e15ffa2b22620215c260c5cbb63690d858a4c55e
>
> Comments
>
> gallery: use broadcasting to generate cauchy and fiedler matrices
>
> Changed files
>
> scripts/special-matrix/gallery.m
>
>
> test gallery started failing:
> ***** test
>  exp = [
>    0   1   2   3   4
>    1   0   1   2   3
>    2   1   0   1   2
>    3   2   1   0   1
>    4   3   2   1   0];
>  assert (gallery ("fiedler", 5), exp)
>  assert (gallery ("fiedler", 1:5), exp)
>  assert (gallery ("fiedler", -2:2), exp)
>  assert (gallery ("fiedler", 2:4), exp(1:4,1:4))
> !!!!! test failed
> ASSERT errors for:  assert (gallery ("fiedler", 2:4),exp (1:4, 1:4))
>
>   Location  |  Observed  |  Expected  |  Reason
>      .          O(3x3)       E(4x4)      Dimensions don't match
>

Thank you.

I have fixed it now http://hg.savannah.gnu.org/hgweb/octave/rev/d20b385d8c99

Carnë

Loading...