bugGNU Octave - Bugs: bug #49322, ode23/45 errors

 
 

bug #49322: ode23/45 errors

Submitter:  Michael Godfrey <godfrey>
Submitted:  Wed 12 Oct 2016 09:17:49 AM UTC
   
 
Category:  Libraries Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Fixed Assigned to:  None
Originator Name:  Godfrey Open/Closed:  * Closed
Release:  * dev Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Thu 13 Oct 2016 06:26:46 PM UTC, comment #10: 

Good. That does it for me.

Michael Godfrey <godfrey>
Group Member
Thu 13 Oct 2016 02:57:06 PM UTC, comment #9: 

Alright, just remove the out-of-date files manually to fix this.


rm libinterp/parse-tree/pt-binop.cc-tst
rm libinterp/octave-value/ov-range.cc-tst



Rik <rik5>
Group administrator
Thu 13 Oct 2016 10:10:35 AM UTC, comment #8: 

Rik: Your suggestion did not fix it for me.
Summary:

  PASS     14810
  FAIL         2
  XFAIL       38
  SKIPPED     43

Also, this case provided a reminder that when files
are moved  within the directory structure, make install
typically fails. In this case,
/usr/local/share/octave/4.3.0+/m/linear-algebra/gsvd.m
was stale and had to be removed. I will open a new bug
report for this.

Michael Godfrey <godfrey>
Group Member
Thu 13 Oct 2016 12:28:27 AM UTC, comment #7: 

The failures you are seeing are from leftover out-of-date tests.  Try a complete clean and re-build.


make maintainer-clean
sh bootstrap
./configure
make



Rik <rik5>
Group administrator
Wed 12 Oct 2016 11:28:29 PM UTC, comment #6: 

OK. I thought if i do fresh clone i do not need to update.

+verbose+

PASS     14810
  FAIL         2
  XFAIL       38
  SKIPPED     43

hg id
68e9bdb7cde3 @

octave:1> test libinterp/parse-tree/pt-binop.cc-tst
*** test
 x = 0;
 do_braindead_shortcircuit_evaluation (0);
 if (1 | (x = 1))
 endif
 assert (x, 1);
 do_braindead_shortcircuit_evaluation (1);
 if (1 | (x = 0))
 endif
 assert (x, 1);
!!!!! test failed
'do_braindead_shortcircuit_evaluation' undefined near line 4 column 2
octave:2> test libinterp/octave-value/ov-range.cc-tst
*** test
 x = 0:10;
 warning ("off", "Octave:deprecated-function", "local");
 save = allow_noninteger_range_as_index ();
 warn_state = warning ("query", "Octave:noninteger-range-as-index");
 unwind_protect
   allow_noninteger_range_as_index (false);
   fail ("x(2.1:5)");
   assert (x(2:5), 1:4);
   allow_noninteger_range_as_index (true);
   warning ("off", "Octave:noninteger-range-as-index");
   assert (x(2.49:5), 1:3);
   assert (x(2.5:5), 2:4);
   assert (x(2.51:5), 2:4);
 unwind_protect_cleanup
   allow_noninteger_range_as_index (save);
   warning (warn_state.state, warn_state.identifier);
 end_unwind_protect
!!!!! test failed
'allow_noninteger_range_as_index' undefined near line 5 column 9

-verbose-

Dmitri A. Sergatskov <dasergatskov>
Wed 12 Oct 2016 09:34:32 PM UTC, comment #5: 

Try 'hg pull' followed by 'hg update @'.  The default bookmark fell behind the actual head of development, but jwe has corrected that now.

Rik <rik5>
Group administrator
Wed 12 Oct 2016 09:25:23 PM UTC, comment #4: 

My case is exactly like Dimitri's.

With hg id:
54332b6ddeb6 @

Michael Godfrey <godfrey>
Group Member
Wed 12 Oct 2016 07:46:06 PM UTC, comment #3: 

Instead of "hg head", which shows the branch heads, what does "hg id" tell you?

If it doesn't match one of the branch heads, why not?  Oh, I see, maybe because you are stuck back at the '@' bookmark and that hasn't been properly advanced recently?


John W. Eaton <jwe>
Group administrator
Wed 12 Oct 2016 07:38:09 PM UTC, comment #2: 

Freashly re-clone and re-build:


hg head
changeset:   22616:96411a33f570
branch:      stable
tag:         tip
parent:      22614:78b3c48be3e6
user:        John Donoghue <john.donoghue@ieee.org>
date:        Tue Oct 11 19:21:49 2016 -0400
summary:     gui: handle differences in text color for popmenu, checkbox and radiobutton (Bug #49247)

changeset:   22615:68e9bdb7cde3
parent:      22613:edd04ce99891
user:        Rik <rik@octave.org>
date:        Tue Oct 11 14:14:44 2016 -0700
summary:     Accept second input '0' to svd (bug #49309).

....

HG ID for this build is "54332b6ddeb6"

....

Summary:

  PASS     14770
  FAIL        54
  XFAIL       39
  SKIPPED     43

---

test ode23
***** test  # two output arguments
 [t, y] = ode23 (@fpol, [0 2], [2 0]);
 assert ([t(end), y(end,:)], [2, fref], 1e-3);
!!!!! test failed
'args' undefined near line 45 column 21
octave:4> test ode45
***** test  # two output arguments
 [t, y] = ode45 (@fpol, [0 2], [2 0]);
 assert ([t(end), y(end,:)], [2, fref], 1e-2);
!!!!! test failed
'args' undefined near line 45 column 21



Dmitri.
--


Dmitri A. Sergatskov <dasergatskov>
Wed 12 Oct 2016 04:19:13 PM UTC, comment #1: 

Can you try a cset greater than or equal to 22612:c05377052b50?

Also, what happens if you just start octave and try


test ode23


Does that fail in the same way that 'make check' does?

Rik <rik5>
Group administrator
Wed 12 Oct 2016 09:17:49 AM UTC, original submission:  

On Fedora 24 x64 I now get:

  scripts/ode/ode23.m ......................................... PASS     11/36 
                                                                  FAIL   25
  scripts/ode/ode45.m ......................................... PASS     11/40 
                                                                  FAIL   29

It appears that the ode update has gotten in an incorrect state
on the default system

Michael Godfrey <godfrey>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jwe (Posted a comment)
  • -email is unavailable- added by dasergatskov (Posted a comment)
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by godfrey (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-10-13 rik5 StatusNeed Info Fixed
        Open/ClosedOpen Closed
    2016-10-12 rik5 StatusNone Need Info

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code