Small name change

This commit is contained in:
Alan Saul 2015-04-30 17:29:51 +01:00
parent 0e5acd1d2b
commit e744857e0a
3 changed files with 381 additions and 337 deletions

View file

@ -20,7 +20,7 @@ class Constant(Mapping):
"""
def __init__(self, input_dim, output_dim, value=0., name='linmap'):
def __init__(self, input_dim, output_dim, value=0., name='constmap'):
Mapping.__init__(self, input_dim=input_dim, output_dim=output_dim, name=name)
value = np.atleast_1d(value)
if not len(value.shape) ==1: