view test/nest/recursive_nest3.m @ 20647:05c77bc1d204

fix typo in changeset 01586012300e * scripts/ode/ode45.m: count 6 fevals for each time the dorpri stepper is invoked (not 7)
author Carlo de Falco <carlo.defalco@polimi.it>
date Mon, 12 Oct 2015 22:57:17 +0200
parents be18c9e359bf
children
line wrap: on
line source

function x = recursive_nest3 ()
  y = 5;
  f (y);
  x = y;
  g (x);
  function f (y)
    y = 10;
  endfunction

  function g (x)
    x = 10;
  endfunction
endfunction