EconForge / dolo.py

Economic modelling in python
BSD 2-Clause "Simplified" License
98 stars 72 forks source link

'To' keyword in distribution.py and Mixture distributions #216

Closed NormannR closed 3 years ago

NormannR commented 3 years ago

Added 'to=iid' keyword to the discretize methods in the distribution.py objects Fixed the Mixture class in distribution.py and added a test for it

albop commented 3 years ago

Thanks. It would make sense to raise an exception when `to!='iid'.

albop commented 3 years ago

Thank you!