openfisca / openfisca-web-api

[DEPRECATED] Web API for OpenFisca
https://www.openfisca.fr/
GNU Affero General Public License v3.0
13 stars 11 forks source link

Revert "Use calculate_add_divide instead of calculate in "formula" controller." #16

Closed MattiSG closed 9 years ago

MattiSG commented 9 years ago

The reverted change makes /formula crash on input variables with error 'Holder' object has no attribute 'period'. Could you explain what's the rationale for changing this function, and how we can avoid this error?

This reverts commit a4f86c71bb217d9ede20100775cf111f514ecd04.

cbenz commented 9 years ago

@MattiSG still opened after merge of #17 ?

MattiSG commented 9 years ago

Nope, this has been merged in #17.