bugGNU Octave - Bugs: bug #66997, (tisean) ikeda results are...

 
 

bug #66997: (tisean) ikeda results are different from expected

Submitter:  Dmitri A. Sergatskov <dasergatskov>
Submitted:  Sun 06 Apr 2025 10:57:44 PM UTC
   
 
Category:  Octave Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Missed Error or Warning
Status:  None Assigned to:  None
Originator Name:  Open/Closed:  * Open
Release:  * dev Release: 
Operating System:  * Any Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 06 Apr 2025 10:57:44 PM UTC, original submission:  

Currently some (appears to be two) of the tests in "tisean" are failing due to "ijeda ()" outputting data that are different from expected. "ikeda ()" is like (henon ()" another stochastic function which output is greatly influenced by OS/CPU/compiler/compiler flags settings. I tried to disable optimization in "__ikeda__.cc" similarly to what I did for (bug #66995).
The patch is (file ikeda_no_opt.diff).
Unfortunately the results still do not match the expectation values from the test. There is no reference of how those expected results were obtained.

My proposal is to apply the patch (which hopefully make results more reproducible across platforms) and adjust the tests
(one is for "test ikeda", another for "test layp_spec") accordingly.
For the reference, with the patch applied, on x86_64 linux (Fedora 42) gcc15:

octave:5> ikeda (10)
ans =

   1.316029  -0.121693
   0.641880  -1.134289
  -0.132830  -0.304268
   1.227849  -0.193301
   0.422034  -0.957804
   0.163347   0.432861
   0.591149   0.078880
   0.607845   0.366490
   0.364031  -0.060117
   1.108342   0.313894


Dmitri.
--

Dmitri A. Sergatskov <dasergatskov>

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #57107:  ikeda_no_opt.diff added by dasergatskov (3KiB - text/x-patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by dasergatskov (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.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2025-04-06 dasergatskov Attached File- Added ikeda_no_opt.diff, #57107

    Back to the top

    Powered by Savane 3.14-962f.
    Corresponding source code