bugGNU Octave - Bugs: bug #38385, ad package: fails to compile and...


bug #38385: ad package: 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: 3 - Normal
Priority: 3 - LowItem Group: Build Failure
Status: Patch SubmittedAssigned to: None
Originator Name: Reinhard ReschOriginator Email: -unavailable-
Open/Closed: OpenRelease: other
Operating System: GNU/Linux

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

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


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 Member
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 (2kB - text/x-diff)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -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 7 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    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-cleanup