sampling mode domain added
This commit is contained in:
committed by
Nicola Demo
parent
fd16fcf9b4
commit
aef5a5d590
@@ -78,7 +78,7 @@ class Intersection(OperationInterface):
|
||||
5
|
||||
|
||||
"""
|
||||
if mode != "random":
|
||||
if mode != self.sample_modes:
|
||||
raise NotImplementedError(
|
||||
f"{mode} is not a valid mode for sampling."
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user