Mercurial > ift6266
comparison transformations/testmod.py @ 297:6f606b359df3
&& -> and
author | Arnaud Bergeron <abergeron@gmail.com> |
---|---|
date | Wed, 10 Feb 2010 11:15:04 -0500 |
parents | 089f236759d9 |
children |
comparison
equal
deleted
inserted
replaced
296:089f236759d9 | 297:6f606b359df3 |
---|---|
72 | 72 |
73 if len(params) != len(names): | 73 if len(params) != len(names): |
74 error("the returned parameter list must have the same length as the number of parameters") | 74 error("the returned parameter list must have the same length as the number of parameters") |
75 | 75 |
76 params2 = mod.regenerate_parameters(0.2) | 76 params2 = mod.regenerate_parameters(0.2) |
77 if len(names) != 0 && params == params2: | 77 if len(names) != 0 and params == params2: |
78 error("the complexity parameter determines the distribution of the parameters, not their value") | 78 error("the complexity parameter determines the distribution of the parameters, not their value") |
79 | 79 |
80 mod.regenerate_parameters(0.0) | 80 mod.regenerate_parameters(0.0) |
81 mod.regenerate_parameters(1.0) | 81 mod.regenerate_parameters(1.0) |
82 | 82 |