bugGNU Octave - Bugs: bug #38385, [octave forge] (ad) fails to...


bug #38385: [octave forge] (ad) fails to compile and work with current octave

Submitted by:  None
Submitted on:  Sat 23 Feb 2013 11:54:07 AM UTC  
Category: Octave Forge PackageSeverity: 1 - Wish
Priority: 3 - LowItem Group: Build Failure
Status: PostponedAssigned to: None
Originator Name: Reinhard ReschOriginator Email: -unavailable-
Open/Closed: OpenRelease: other
Operating System: Any

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Wed 03 Jun 2015 03:27:08 AM UTC, comment #3:

Part of the attached patch has been applied to the svn repo for the ad package, part has not.

If someone is interested in keeping the ad package up to date, please feel free to fix it to work with the current version of Octave.

Mike Miller <mtmiller>
Project Administrator
Fri 24 Jan 2014 08:23:57 PM UTC, comment #2:

And furthermore, the ad package is now listed as one of the unmaintained packages on the Octave Forge site.

Mike Miller <mtmiller>
Project Administrator
Sat 23 Feb 2013 01:38:14 PM UTC, comment #1:

For the record, the package is also broken on the development branch, because the dispatch system has been removed.

Michael Goffioul <goffioul>
Project Member
Sat 23 Feb 2013 11:54:07 AM UTC, original submission:

1.) The file ov-grad.cc can not be compiled any longer.
2.) The function gradsum.m does not work any longer.

The patch in the attached file fixes these issues.
However gradsum.m still fails if a matrix is passed as argument:

function y=f(x)
y = sum(x);

[y, dy] = D(@f, [1,2; 3,4]);

>>error: invalid assignment to cs-list outside multiple assignment
>>error: called from:
>>error: /usr/local/share/octave/packages/ad-1.0.6/gradsum.m at >>line 63, column 17
>>error: f at line 2, column 2
>>error: /usr/local/share/octave/packages/ad-1.0.6/D.m at line >>36, column 7



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

Attach File(s):

Attached Files
file #27508:  ad-1.0.6.patch added by None (2KiB - text/x-diff)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by jwe (Updated the item)
  • -unavailable- added by mtmiller (Posted a comment)
  • -unavailable- added by carandraug (author and maintainer of the ad package)
  • -unavailable- added by goffioul (Posted a comment)
  • -unavailable- added by None (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 11 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 13 Aug 2017 12:53:23 PM UTCjweSummaryad package: fails to compile and work with current octave=>[octave forge] (ad) fails to compile and work with current octave
    Wed 03 Jun 2015 03:27:08 AM UTCmtmillerSeverity3 - Normal=>1 - Wish
      StatusPatch Submitted=>Postponed
      Operating SystemGNU/Linux=>Any
    Fri 24 Jan 2014 08:23:57 PM UTCmtmillerPriority5 - Normal=>3 - Low
      Item GroupRegression=>Build Failure
      StatusNone=>Patch Submitted
      SummaryThe octave-forge package ad-1.0.6 is broken in octave-3.6.2=>ad package: fails to compile and work with current octave
    Sat 23 Feb 2013 05:05:22 PM UTCcarandraugCarbon-Copy-=>Added -unavailable-
    Sat 23 Feb 2013 11:54:07 AM UTCNoneAttached File-=>Added ad-1.0.6.patch, #27508

    Back to the top

    Powered by Savane 3.1-cleanup1