view test/bug-35448/fA.m @ 31237:e3016248ca5d

uifigure.m: Call set () only if varargin is not empty (bug #63088) * uifigure.m: Call set () only if varargin is not empty.
author John Donoghue <john.donoghue@ieee.org>
date Wed, 21 Sep 2022 09:55:32 -0400
parents fc4bb4bd1d5e
children
line wrap: on
line source

## fA.m
function y = fA (x, f)
  global gfun
  if (nargin < 2)
    y = fA (x, gfun);
  else
    w = feval (f, x);
    y = feval (@fB, w);
  endif
endfunction