MurpheyLab / trep

Trep: Mechanical Simulation and Optimal Control Software
https://murpheylab.github.io/trep/
GNU General Public License v3.0
18 stars 11 forks source link

clear cache after structure updates #24

Closed adwilson10 closed 9 years ago

adwilson10 commented 9 years ago

This PR addresses #19 by clearing the system cache after calls _structure_changed(). I don't think this should result in any performance hit as the entire cache should probably be cleared after any structure change anyway.