From 873a59908d2353d173206ae1ed5f091b9f161063 Mon Sep 17 00:00:00 2001 From: Thomas De Maet <thomas.demaet@uclouvain.be> Date: Fri, 17 Apr 2015 08:48:06 +0000 Subject: [PATCH] dg: subsurface test multigrid --- Common/Options.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Common/Options.cpp b/Common/Options.cpp index 8b651cf73f..818d95368e 100644 --- a/Common/Options.cpp +++ b/Common/Options.cpp @@ -6594,7 +6594,7 @@ double opt_view_time(OPT_ARGS_NUM) { #if defined(HAVE_POST) GET_VIEW(0.); - if(action & GMSH_SET) { + if(data && (action & GMSH_SET)) { if(val >= 0.){ // if negative (the default), don't do anything so that we do not compete // with timestep -- GitLab