changeset 204:0faaf956bd3a

Fix the HyperElasticity example
author gedeone-octave <marcovass89@hotmail.it>
date Thu, 30 Jan 2014 08:55:40 +0100
parents bd90d5fa4eba
children 17b92c718a2b
files inst/femfenics_examples.m
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/inst/femfenics_examples.m	Thu Jan 30 08:53:59 2014 +0100
+++ b/inst/femfenics_examples.m	Thu Jan 30 08:55:40 2014 +0100
@@ -190,7 +190,7 @@
 %! # Create function for the resolution of the NL problem
 %!   function [y, jac] = f (problem, xx, V, bc1, bc2, B, T, mu, lmbda)
 %!     u = Function ('u', V, xx);
-%!     a = JacobianForm (problem, V, mu, lmbda, u);
+%!     a = JacobianForm (problem, V, V, mu, lmbda, u);
 %!     L = ResidualForm (problem, V, mu, lmbda, B, T, u);
 %!     if (nargout == 1)
 %!       [y, xx] = assemble (L, xx, bc1, bc2);