Changeset 11625:2c014d899166 in orange


Ignore:
Timestamp:
07/12/13 19:45:12 (9 months ago)
Author:
Ales Erjavec <ales.erjavec@…>
Branch:
default
Message:

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

Fixes #1316

File:
1 edited

Legend:

Unmodified
Added
Removed
  • source/orange/lib_kernel.cpp

    r11603 r11625  
    52155215    float f; 
    52165216    if (PyNumber_ToFloat(index, f)) { 
    5217       dist->addfloat(f); 
     5217      dist->addfloat(f, weight); 
    52185218      RETURN_NONE; 
    52195219    } 
Note: See TracChangeset for help on using the changeset viewer.