Introduction
Introduction Statistics Contact Development Disclaimer Help
tadd parantheses to avoid warning - slidergrid - grid of elastic sliders on a f…
git clone git://src.adamsgaard.dk/slidergrid
Log
Files
Refs
README
LICENSE
---
commit 0f0bccee849d4eb219805af002c0877ab961c8d6
parent 56d818be2914d596c94e0b4968a04f37ca20a759
Author: Anders Damsgaard <[email protected]>
Date: Tue, 5 Apr 2016 13:57:43 -0700
add parantheses to avoid warning
Diffstat:
M slidergrid/main.c | 4 ++--
M tests/elasticity/Makefile | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/slidergrid/main.c b/slidergrid/main.c
t@@ -217,8 +217,8 @@ int main(int argc, char** argv)
time_since_file = 0.0;
}
- if (verbose && time_since_status > sim.dt*100. ||
- time_since_status >= sim.file_interval) {
+ if (verbose && (time_since_status > sim.dt*100. ||
+ time_since_status >= sim.file_interval)) {
print_status(sim);
time_since_status = 0.;
}
diff --git a/tests/elasticity/Makefile b/tests/elasticity/Makefile
t@@ -16,7 +16,7 @@ default: run-test
run-test: normal
./$< --verbose
python $(ROOT)postprocessing.py --plot-kinetic-energy $<-output
- python $(ROOT)postprocessing.py --plot-sliders $<-output
+ #python $(ROOT)postprocessing.py --plot-sliders $<-output
normal: normal.o $(ESSENTIALOBJS)
$(CC) $(LDLIBS) $^ -o $@
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.