tfix parameter type and time increment function call - Granular.jl - Julia pack… | |
git clone git://src.adamsgaard.dk/Granular.jl | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit c4bad559ab6360154b15cc025de44cfa69c82dc6 | |
parent 1e2e0cadbbc22c3205513e89e8e40f451d534157 | |
Author: Anders Damsgaard <[email protected]> | |
Date: Thu, 20 Apr 2017 16:08:17 -0400 | |
fix parameter type and time increment function call | |
Diffstat: | |
M src/simulation.jl | 4 ++-- | |
1 file changed, 2 insertions(+), 2 deletions(-) | |
--- | |
diff --git a/src/simulation.jl b/src/simulation.jl | |
t@@ -77,7 +77,7 @@ to disk. | |
""" | |
function run!(simulation::Simulation; | |
verbose::Bool=true, | |
- status_interval::Int=100., | |
+ status_interval::Int=100, | |
show_file_output::Bool=true, | |
single_step::Bool=false, | |
temporal_integration_method::String="Three-term Taylor") | |
t@@ -113,7 +113,7 @@ function run!(simulation::Simulation; | |
# Update time variables | |
simulation.time_iteration += 1 | |
- incrementCurrentTime(simulation, simulation.time_step) | |
+ incrementCurrentTime!(simulation, simulation.time_step) | |
time_since_output_file = time_since_output_file + simulation.time_step | |
if single_step |