[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #53808] image package: entropy fails because o
From: |
anonymous |
Subject: |
[Octave-bug-tracker] [bug #53808] image package: entropy fails because of change in hist |
Date: |
Wed, 2 May 2018 08:58:09 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3403.0 Safari/537.36 |
URL:
<http://savannah.gnu.org/bugs/?53808>
Summary: image package: entropy fails because of change in
hist
Project: GNU Octave
Submitted by: None
Submitted on: Wed 02 May 2018 12:58:07 PM UTC
Category: Octave Forge Package
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Unexpected Error
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 4.2.2
Operating System: Any
_______________________________________________________
Details:
Executing
entropy([1 0])
leads to following error:
error: hist: NORM must be a numeric constant > 0
error: called from
hist at line 151 column 7
entropy at line 61 column 5
The error was introduced in changeset 24793:1fa1869650cc.
Proposals for solution:
A) allow logical arguments as 3rd parameter of hist
B) replace
P = hist (I (:), nbins, true);
with
P = hist (I (:), nbins, 1);
in entropy.m.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?53808>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #53808] image package: entropy fails because of change in hist,
anonymous <=