tPrint result in double precision - cngf-pf - continuum model for granular flow… | |
git clone git://src.adamsgaard.dk/cngf-pf | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit f2ab541df3857c70de85b2850192275b28a1e6ab | |
parent 5cfcaa2b12a379d610f619272c31342839d73164 | |
Author: Anders Damsgaard <[email protected]> | |
Date: Thu, 12 Dec 2019 14:15:00 +0100 | |
Print result in double precision | |
Diffstat: | |
M max_depth_simple_shear.c | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
--- | |
diff --git a/max_depth_simple_shear.c b/max_depth_simple_shear.c | |
t@@ -336,7 +336,7 @@ main(int argc, char* argv[]) | |
printf("time spent = %g s\n", t_elapsed); | |
#endif | |
- printf("%g\t%g\n", depth, d_s); | |
+ printf("%.17g\t%.17g\n", depth, d_s); | |
free_arrays(&sim); | |
return 0; |