Ticket #1316 (closed bug: fixed)

Opened 13 months ago

Last modified 13 months ago

Orange.statistics.distribution.Continuous.add does not use weight parameter

Reported by: ales Owned by: ales
Milestone: Future Component: library
Severity: major Keywords: distribution, continuous
Cc: Blocking:
Blocked By:

Description

import Orange
dist = Orange.statistics.distribution.Continuous()
dist.add(42, 42)
assert dist[42] == 42

instead dist[42] == 1

Change History

comment:1 Changed 13 months ago by Ales Erjavec <ales.erjavec@…>

  • Status changed from new to closed
  • Resolution set to fixed

In [2c014d89916686d6289e0990ab5fa0bd9099aad3/orange]:

Fixed 'ContDistribution.add' method (use the weight argument).

Fixes #1316

Note: See TracTickets for help on using tickets.