publicodes / tools

Set of utility functions to write tooling for Publicodes models
https://publicodes.github.io/tools/
MIT License
8 stars 0 forks source link

Feat(optim): generalize for all mechanisms #16

Closed EmileRolley closed 5 months ago

EmileRolley commented 11 months ago

lexicalSubstitutionOfRefValue should be refactored to be easily generalized to all supported mechanisms: https://github.com/incubateur-ademe/publicodes-tools/blob/f83c4cbaa8020bd477227f0c711fd1fc43f4956e/source/optims/constantFolding.ts#L152-L204

EmileRolley commented 5 months ago

Done in #35