[SCM] Gerris Flow Solver branch, upstream, updated. b3aa46814a06c9cb2912790b23916ffb44f1f203

Stephane Popinet popinet at users.sf.net
Fri May 15 02:54:52 UTC 2009


The following commit has been merged in the upstream branch:
commit a6683f09e67b1799a2a1b26a879d9dd6defc363d
Author: Stephane Popinet <popinet at users.sf.net>
Date:   Wed Dec 5 07:28:46 2007 +1100

    Bug fix for reading VariablePosition reference position
    
    darcs-hash:20071204202846-d4795-5a13fde733b9e93a20e64324fad2e2221a351c4f.gz

diff --git a/src/tension.c b/src/tension.c
index c50a749..1b03773 100644
--- a/src/tension.c
+++ b/src/tension.c
@@ -739,7 +739,7 @@ static void variable_position_read (GtsObject ** o, GtsFile * fp)
 					      "coordinate of the interface defined by tracer",
 					      GFS_VARIABLE_CURVATURE (v)->f->name, NULL);
   gts_file_next_token (fp);
-  if (fp->type == GTS_INT || fp->type == GTS_FLOAT || fp->type == GTS_STRING)
+  if (fp->type != '\n')
     v->ref = gfs_read_constant (fp, gfs_object_simulation (*o));
 }
 

-- 
Gerris Flow Solver



More information about the debian-science-commits mailing list