bugGNU Octave - Bugs: bug #50193, ode15s gives wrong result for...

 
 

bug #50193: ode15s gives wrong result for complex input

Submitted by:  Marco Caliari <caliari>
Submitted on:  Tue 31 Jan 2017 10:18:37 AM UTC  
 
Category: Octave FunctionSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: NoneAssigned to: None
Originator Name: Open/Closed: Open
Release: devOperating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Thu 16 Mar 2017 04:06:02 PM UTC, comment #2:

The computation should be interrupted whenever fun is discovered to be complex, for instance in check_default_input.

Marco Caliari <caliari>
Project Member
Thu 09 Mar 2017 05:02:37 PM UTC, comment #1:

This is a known problem:

sundials/IDA can only deal with float or double
and either of the two must be chosen when compiling
the library.

What to do for complex input is unclear to me at the moment.

Carlo de Falco <cdf>
Project Member
Tue 31 Jan 2017 10:18:37 AM UTC, original submission:

The following code

gives a completely wrong result (which should be exp(1i*sol.x).

Marco Caliari <caliari>
Project Member

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by cdf (Posted a comment)
  • -unavailable- added by caliari (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):

     

     

    No Changes Have Been Made to This Item

    Back to the top


    Powered by Savane 3.1-cleanup1