Mercurial > octave
view test/bug-38565.tst @ 21215:04866fac690a
use template keyword to handle dependent template names
* sparse-qr.cc (sparse_qr<SPARSE_T>::tall_solve): Use template keyword
to treat tall_solve as a dependent template name.
(sparse_qr<SPARSE_T>::wide_solve): Likewise, for wide_solve.
author | Ben Abbott <bpabbott@mac.comg> |
---|---|
date | Sun, 07 Feb 2016 02:21:37 -0500 |
parents | b9e510a1f308 |
children | a4faec57f4c8 |
line wrap: on
line source
%!function r = f (x) %! if (ischar (x)) %! r = x; %! else %! error ("expecting character string"); %! endif %!endfunction %!assert (eval ("f 10;"), "10");