From c338969ffa4983d3334b6e937f2be2c4601a3cc2 Mon Sep 17 00:00:00 2001 From: Leandro Martinez Date: Tue, 8 Oct 2024 15:54:23 -0300 Subject: [PATCH] code formatting --- src/mono_atomic.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mono_atomic.jl b/src/mono_atomic.jl index 278c5ea..10b9822 100644 --- a/src/mono_atomic.jl +++ b/src/mono_atomic.jl @@ -121,9 +121,9 @@ function pack_monoatomic!( else volume = prod(unitcell) end - packing_tol = tol + tol/10 # this avoids slow convergence + packing_tol = tol + tol / 10 # this avoids slow convergence ncells = min(volume / packing_tol^N, length(positions)) - cutoff = (volume / ncells)^(1/N) + cutoff = (volume / ncells)^(1 / N) println("Using cell list cutoff: ", cutoff) println("Using packing tolerance: ", packing_tol) system = ParticleSystem(