------------------------------------------------------------
revno: 3844
committer: Jan Stransky <[email protected]>
timestamp: Tue 2016-04-19 03:26:04 +0200
message:
Interaction::reset explicitly resets also its functorCache
modified:
core/Interaction.cpp
--
lp:yade
https://code.launchpad.net/~yade-pkg/yade/git-trunk
Your team Yade developers is subscribed to branch lp:yade.
To unsubscribe from this branch go to
https://code.launchpad.net/~yade-pkg/yade/git-trunk/+edit-subscription
=== modified file 'core/Interaction.cpp'
--- core/Interaction.cpp 2014-10-15 06:44:01 +0000
+++ core/Interaction.cpp 2016-04-19 01:26:04 +0000
@@ -25,6 +25,9 @@
void Interaction::reset(){
geom=shared_ptr<IGeom>();
phys=shared_ptr<IPhys>();
+ functorCache.geom = nullptr;
+ functorCache.phys = nullptr;
+ functorCache.constLaw = nullptr;
init();
}
_______________________________________________
Mailing list: https://launchpad.net/~yade-dev
Post to : [email protected]
Unsubscribe : https://launchpad.net/~yade-dev
More help : https://help.launchpad.net/ListHelp