[cig-commits] [commit] master: fix error on tester (c883fc0)

cig_noreply at geodynamics.org cig_noreply at geodynamics.org
Tue May 20 22:10:30 PDT 2014


Repository : https://github.com/geodynamics/aspect

On branch  : master
Link       : https://github.com/geodynamics/aspect/compare/186ba1a8e5baecbac8c8b34a6b121c93cfc30f0a...c883fc069e0dcc93cce45e1d52c84c05c9c4385b

>---------------------------------------------------------------

commit c883fc069e0dcc93cce45e1d52c84c05c9c4385b
Author: Timo Heister <timo.heister at gmail.com>
Date:   Wed May 21 01:10:22 2014 -0400

    fix error on tester
    
    For some reason the new functionparser (that we replaced in deal.II
    recently) doesn't like the space after "if".


>---------------------------------------------------------------

c883fc069e0dcc93cce45e1d52c84c05c9c4385b
 tests/minimum_refinement_function.prm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/minimum_refinement_function.prm b/tests/minimum_refinement_function.prm
index 6ea60d7..f54ccfb 100644
--- a/tests/minimum_refinement_function.prm
+++ b/tests/minimum_refinement_function.prm
@@ -124,7 +124,7 @@ subsection Initial conditions
   set Model name = function # default: 
   subsection Function
     set Function constants  = l=250000
-    set Function expression = if (x < l, 1873, 1623)
+    set Function expression = if(x < l, 1873, 1623)
     set Variable names      = x,y
   end
 end



More information about the CIG-COMMITS mailing list