ivoflipse / Pawlabeling

Tool for processing and analyzing pressure measurements
Other
18 stars 1 forks source link

Don't recalculate if it has already been calculated #152

Closed ivoflipse closed 9 years ago

ivoflipse commented 9 years ago

In my calculation functions, every function assumes nothing has been calculated. Instead, it would be better to pass the Contact instance and check whether any results the calculation needs are available. If not, calculate it, add it and then calculate whatever is needed.

ivoflipse commented 9 years ago

I'm not sure whether I'm happy with the current design, but I think this issue has been dealt with