Use linear scaling for variation weights

This commit is contained in:
Steven Robertson 2012-04-22 15:47:16 -07:00
parent 233f9f003e
commit 7c0d86b929

View File

@ -21,7 +21,7 @@ def var(num, name, **params):
# of reading the default value. # of reading the default value.
for k, v in params.items(): for k, v in params.items():
params[k] = v._replace(var=True) params[k] = v._replace(var=True)
params['weight'] = scalespline(0) params['weight'] = s
var_params[name] = params var_params[name] = params
# TODO: review all parameter splines, possibly programmatically # TODO: review all parameter splines, possibly programmatically