From 456444957ad5099f7cbb917bdcf5eb51e7ffa7af Mon Sep 17 00:00:00 2001 From: Frederic Perez Date: Wed, 24 Apr 2024 15:08:55 +0200 Subject: [PATCH] fix collisions: wrong check when 0 particles --- src/Collisions/BinaryProcesses.cpp | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/src/Collisions/BinaryProcesses.cpp b/src/Collisions/BinaryProcesses.cpp index 0b93d0284..107d12c8f 100644 --- a/src/Collisions/BinaryProcesses.cpp +++ b/src/Collisions/BinaryProcesses.cpp @@ -238,22 +238,26 @@ void BinaryProcesses::apply( Params ¶ms, Patch *patch, int itime, vectorrand_, npartmax ); // Calculate the densities @@ -286,8 +290,6 @@ void BinaryProcesses::apply( Params ¶ms, Patch *patch, int itime, vector