changeset 139:a02811631f71

Fix another little bug
author gedeone-octave <marcovass89@hotmail.it>
date Fri, 06 Sep 2013 19:26:46 +0200
parents 0de65c450b08
children d94b16927632
files example/Poisson.ufl inst/Constant.m
diffstat 2 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/example/Poisson.ufl	Fri Sep 06 19:16:59 2013 +0200
+++ b/example/Poisson.ufl	Fri Sep 06 19:26:46 2013 +0200
@@ -1,10 +1,8 @@
 # Copyright (C) 2005-2009 Anders Logg
 element = FiniteElement("Lagrange", triangle, 1)
 
-
 u = TrialFunction(element)
 v = TestFunction(element)
-
 f = Coefficient(element)
 g = Coefficient(element)
 
--- a/inst/Constant.m	Fri Sep 06 19:16:59 2013 +0200
+++ b/inst/Constant.m	Fri Sep 06 19:26:46 2013 +0200
@@ -27,7 +27,7 @@
     error ("Constant: wrong number of input parameters.");
   elseif ! ischar (name)
     error ("Constant: second argument is not a valid string");
-  elseif ! isvector (x)
+  elseif ! isvector (xx)
     error ("Constant: second argument is not a valid string");
   endif