tAdd missing end parantheses - Granular.jl - Julia package for granular dynamic… | |
git clone git://src.adamsgaard.dk/Granular.jl | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 5c17352359f5871f0258d3a47b12d829abfb5521 | |
parent 2a93cab78cf900bb39d814b27efe95b86e5f57a1 | |
Author: Anders Damsgaard <[email protected]> | |
Date: Mon, 19 Feb 2018 11:12:01 -0500 | |
Add missing end parantheses | |
Diffstat: | |
M src/interaction.jl | 4 ++-- | |
1 file changed, 2 insertions(+), 2 deletions(-) | |
--- | |
diff --git a/src/interaction.jl b/src/interaction.jl | |
t@@ -207,9 +207,9 @@ function interactGrains!(simulation::Simulation, i::Int, j… | |
# Determine which grain is the weakest | |
compressive_strength = simulation.grains[i].fracture_toughness * | |
- sqrt(simulation.grains[i].thickness | |
+ sqrt(simulation.grains[i].thickness) | |
compressive_strength_j = simulation.grains[j].fracture_toughness * | |
- sqrt(simulation.grains[j].thickness | |
+ sqrt(simulation.grains[j].thickness) | |
idx_weakest = i | |
if compressive_strength_j < compressive_strength | |
compressive_strength = compressive_strength_j |