Skip to content

Commit 0766f46

Browse files
committed
owimpute: Do not copy methods into variable_methods
The learner input requires that the single instance of `impute.Model` be modified in place for the changes to take effect.
1 parent a7f54db commit 0766f46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Orange/widgets/data/owimpute.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -517,7 +517,7 @@ def set_method_for_indexes(self, indexes, method_index):
517517
method = impute.Default(default=value)
518518
self.variable_methods[index.row()] = method
519519
else:
520-
method = self.methods[method_index].copy()
520+
method = self.methods[method_index]
521521
for index in indexes:
522522
self.variable_methods[index.row()] = method
523523

0 commit comments

Comments
 (0)