# HG changeset patch # User gedeone-octave # Date 1391068540 -3600 # Node ID 0faaf956bd3a5eb40f20694ef6d2bf4134dacacf # Parent bd90d5fa4ebaa123c3376e9614f1592c08418adc Fix the HyperElasticity example diff -r bd90d5fa4eba -r 0faaf956bd3a inst/femfenics_examples.m --- 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);