From ebf4482d5b481a5c5d538e9d71c1864d218aaf6c Mon Sep 17 00:00:00 2001 From: liangjg Date: Thu, 28 Mar 2019 16:59:45 -0400 Subject: [PATCH] fix photon analog --- src/physics.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/physics.cpp b/src/physics.cpp index 1cfd316580..258cea9248 100644 --- a/src/physics.cpp +++ b/src/physics.cpp @@ -56,7 +56,6 @@ void collision(Particle* p) if (p->E_ < settings::energy_cutoff[type]) { p->alive_ = false; p->wgt_ = 0.0; - p->wgt_last_ = 0.0; } // Display information about collision