dlsun / symbulate

A symbolic algebra for specifying simulations.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Normal: change default parameter from `var` to `sd`

kevindavisross opened this issue · comments

Done. I switched the sd and var arguments order. If var is provided, the distribution takes the var instead of the sd >> maybe a little bit confused. I can remove the the var argument if you want.
def __init__(self, mean=0.0, sd=1.0, var=None):
image

No, don't remove var. But do raise an exception when the user provides both var and sd (we should have done this before), something like 'At most one of sd and var can be specified.'