Skip to content

Commit 77ea616

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 a487063 commit 77ea616

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
@@ -512,7 +512,7 @@ def set_method_for_indexes(self, indexes, method_index):
512512
method = impute.Default(default=value)
513513
self.variable_methods[index.row()] = method
514514
else:
515-
method = self.methods[method_index].copy()
515+
method = self.methods[method_index]
516516
for index in indexes:
517517
self.variable_methods[index.row()] = method
518518

0 commit comments

Comments
 (0)