Patch to fix noise seed in channel model

Hi list,

I recently find that the noise seed block needs negative seed for
gaussian and uniform distributions. The commit 0d6871b3 has provided
documentation for this and also changed the seed in noise seed from
positive value to 0 to avoid misleading. However, the seed value in
channel model block hasn’t been updated. And in some python scripts,
we use randint(0, 100000) as the seed. This is misleading and doesn’t
give what we want.

I attach a patch to address the issue.

On Fri, Nov 2, 2012 at 5:06 AM, Alick Z. [email protected] wrote:

I recently find that the noise seed block needs negative seed for
gaussian and uniform distributions. The commit 0d6871b3 has provided
documentation for this and also changed the seed in noise seed from
positive value to 0 to avoid misleading. However, the seed value in
channel model block hasn’t been updated. And in some python scripts,
we use randint(0, 100000) as the seed. This is misleading and doesn’t
give what we want.

I attach a patch to address the issue.

Thanks, this has been applied.

Johnathan