Update of LabelTensor class and fix Simplex domain (#362)
*Implement new methods in LabelTensor and fix operators
This commit is contained in:
committed by
Nicola Demo
parent
fdb8f65143
commit
7528f6ef74
@@ -76,7 +76,7 @@ class Exclusion(OperationInterface):
|
||||
5
|
||||
|
||||
"""
|
||||
if mode != self.sample_modes:
|
||||
if mode not in self.sample_modes:
|
||||
raise NotImplementedError(
|
||||
f"{mode} is not a valid mode for sampling."
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user