oie-mines-paristech / lca_algebraic

Layer over brightway2 for algebraic definition of parametric models and super fast computation of LCA
BSD 2-Clause "Simplified" License
34 stars 18 forks source link

Update params.py #43

Closed RomainBes closed 3 months ago

RomainBes commented 6 months ago

Check if attribute min exist to decide to trunc the distribution. Previous use of "if self.min" was problematic when min value was 0.