summaryrefslogtreecommitdiff
path: root/ot/utils.py
diff options
context:
space:
mode:
authortvayer <titouan.vayer@gmail.com>2019-06-04 10:32:30 +0200
committertvayer <titouan.vayer@gmail.com>2019-06-04 10:32:35 +0200
commitad450b0a5bb63ee9731e88d4a8e7423b16f1abd8 (patch)
treecab0421292074e59cb4eeb2846e8cca5aa159d3a /ot/utils.py
parent89a2e0aee4353a051d924de0457f8976c26fa5d7 (diff)
changes forgotten coments
Diffstat (limited to 'ot/utils.py')
-rw-r--r--ot/utils.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/ot/utils.py b/ot/utils.py
index bb21b38..efd1288 100644
--- a/ot/utils.py
+++ b/ot/utils.py
@@ -487,3 +487,11 @@ class BaseEstimator(object):
(key, self.__class__.__name__))
setattr(self, key, value)
return self
+
+
+class UndefinedParameter(Exception):
+ """
+ Aim at raising an Exception when a undefined parameter is called
+
+ """
+ pass