view test/bug-52851/script3.m @ 31205:b0e90ca8e679 stable

quad2d: fix unintended complex conjugate return (bug #62972) quad2d: use .' instead of ' to avoid complex conjugate in q and qerr.
author Arun Giridhar <arungiridhar@gmail.com>
date Sun, 28 Aug 2022 12:21:17 -0400
parents d45d1b4bb919
children
line wrap: on
line source

1; %script identifier

if (flag)
  function r = computation ()
    r = 1;
  endfunction

  r = computation ();
else
  function r = computation ()
    r = 2;
  endfunction

  r = computation ();
endif