[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #62409] [octave forge] (image) BIST errors on
From: |
Markus Mützel |
Subject: |
[Octave-bug-tracker] [bug #62409] [octave forge] (image) BIST errors on 32-bit |
Date: |
Wed, 4 May 2022 03:51:48 -0400 (EDT) |
URL:
<https://savannah.gnu.org/bugs/?62409>
Summary: [octave forge] (image) BIST errors on 32-bit
Project: GNU Octave
Submitted by: mmuetzel
Submitted on: Wed 04 May 2022 09:51:45 AM CEST
Category: Octave Forge Package
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Unexpected Error or Warning
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Release: other
Discussion Lock: Any
Operating System: Any
_______________________________________________________
Details:
Some built-in self tests of the image package are failing when executed in a
version of Octave where octave_idx_type is 32-bit.
See e.g.:
https://github.com/gnu-octave/octave-buildbot/runs/6277311915?check_suite_focus=true#step:13:4095
>>>>> processing
D:\a\octave-buildbot\octave-buildbot\octave-2022-05-03-00-18-w32\mingw32\lib\octave\packages\image-2.14.0\i686-w64-mingw32-api-v57\imerode.cc-tst
***** test
a = rand ([10 40 15 6 8 5]) > 0.2;
se = ones ([5 3 7]);
## the image is not really indexed but this way it is padded with 1s
assert (imerode (a, se), colfilt (a, "indexed", size (se), "sliding",
@all))
assert (imerode (a, se, "valid"), convn (a, se, "valid") == nnz (se))
## again, we need to pad it ourselves because convn pads with zeros
b = true (size (a) + [4 2 6 0 0 0]);
b(3:12, 2:41, 4:18,:,:,:) = a;
assert (imdilate (b, se, "same"), convn (b, se, "same") > 0)
b = true (size (a) + [8 4 12 0 0 0]);
b(5:14, 3:42, 7:21,:,:,:) = a;
assert (imdilate (b, se, "full"), convn (b, se, "full") > 0)
!!!!! test failed
out of memory or dimension too large for Octave's index type
***** test
a = rand ([10 40 15 6 8 5]) > 0.8;
se = ones ([5 3 7]);
assert (imdilate (a, se), convn (a, se, "same") > 0)
assert (imdilate (a, se, "full"), convn (a, se, "full") > 0)
assert (imdilate (a, se, "valid"), convn (a, se, "valid") > 0)
assert (imdilate (a, se), colfilt (a, size (se), "sliding", @any))
!!!!! test failed
out of memory or dimension too large for Octave's index type
It might be nice to limit the size of the used matrices so that they could be
used with 32-bit indices. Or if that is not possible, skip these tests if
Octave's indices are 32-bit.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?62409>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #62409] [octave forge] (image) BIST errors on 32-bit,
Markus Mützel <=
- [Octave-bug-tracker] [bug #62409] [octave forge] (image) BIST errors on 32-bit, Avinoam Kalma, 2022/05/05
- [Octave-bug-tracker] [bug #62409] [octave forge] (image) BIST errors on 32-bit, Hartmut, 2022/05/06
- [Octave-bug-tracker] [bug #62409] [octave forge] (image) BIST errors on 32-bit, Markus Mützel, 2022/05/06
- [Octave-bug-tracker] [bug #62409] [octave forge] (image) BIST errors on 32-bit, Hartmut, 2022/05/08
- [Octave-bug-tracker] [bug #62409] [octave forge] (image) BIST errors on 32-bit, Dmitri A. Sergatskov, 2022/05/08
- [Octave-bug-tracker] [bug #62409] [octave forge] (image) BIST errors on 32-bit, Avinoam Kalma, 2022/05/08
- [Octave-bug-tracker] [bug #62409] [octave forge] (image) BIST errors on 32-bit, Hartmut, 2022/05/11
- [Octave-bug-tracker] [bug #62409] [octave forge] (image) BIST errors on 32-bit, Hartmut, 2022/05/15
- [Octave-bug-tracker] [bug #62409] [octave forge] (image) BIST errors on 32-bit, Avinoam Kalma, 2022/05/17