Closed glysbaysb closed 3 years ago
@glysbaysb thanks for the report. Made a fix in https://github.com/AB-CE/abce/commit/296216dbff9b2a4810f245d3a94544c46e68691b. Let me know if it fixes the bug.
Yes that works perfectly, sorry it took me a while to reply.
If a firm does not have enough goods for its production function it throws the
NotEnoughGoods
exception. However it does not pass the required parameters in the constructor making it impossible to handle this error.See https://github.com/AB-CE/abce/blob/master/abcEconomics/agents/firm.py#L130