flathub / flathub/org.octave.Octave

NaN mismatch

Open
#264 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
20
Forks
12
PR merge metrics
No merged PRs in 30d

Description

There are multiple failures in data.cc-tst due to NaN/Inf mismatch.

```

>>>>> processing /app/share/octave/7.2.0/etc/tests/libinterp/corefcn/data.cc-tst
***** assert (log2 (complex (0,Inf)), Inf + log2 (i))
!!!!! test failed
ASSERT errors for: assert (log2 (complex (0, Inf)),Inf + log2 (i))

Location | Observed | Expected | Reason
() NaN+2i Inf+2i 'NaN' mismatch
shared variables xs =

Compressed Column Sparse (rows = 1, cols = 4, nnz = 3 [75%])

(1, 2) -> 1
(1, 3) -> 2
(1, 4) -> 3

***** test
[f, e] = log2 (complex (zeros (3, 2), [0,-1; 2,-4; Inf,-Inf]));
assert (f, complex (zeros (3, 2), [0,-0.5; 0.5,-0.5; Inf,-Inf]));
assert (e(1:2,:), [0,1; 2,3]);
!!!!! test failed
ASSERT errors for: assert (f,complex (zeros (3, 2), [0, -0.5; 0.5, -0.5; Inf, -Inf]))

Location | Observed | Expected | Reason
(3,1) NaN+NaNi 0+Infi 'NaN' mismatch
(3,2) NaN+NaNi 0-Infi 'NaN' mismatch
shared variables xs =

Compressed Column Sparse (rows = 1, cols = 4, nnz = 3 [75%])

(1, 2) -> 1
(1, 3) -> 2
(1, 4) -> 3

```
etc... Full log is attached.
[data_fntests.log.gz](https://github.com/flathub/org.octave.Octave/files/10745745/data_fntests.log.gz)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.