1. biolab
  2. Untitled project
  3. orange

Commits

Aleš Erjavec  committed 2c014d8

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

Fixes #1316

  • Participants
  • Parent commits 365165a
  • Branches default

Comments (0)

Files changed (1)

File source/orange/lib_kernel.cpp

View file
  • Ignore whitespace
 
     float f;
     if (PyNumber_ToFloat(index, f)) {
-      dist->addfloat(f);
+      dist->addfloat(f, weight);
       RETURN_NONE;
     }