[OctDev] miscellaneous/inst/test_inline_1.m

John W. Eaton jwe at bevo.che.wisc.edu
Thu Jan 17 03:21:03 CST 2008


On 17-Jan-2008, David Bateman wrote:

| What about if we add the test block
| 
| %!shared fn
| %! fn = inline ("x.^2 + 1","x");
| %!assert (feval (fn, 6), 37)
| %!assert (fn (6), 37)
| 
| below the Finline function in ov-fcn-inline.cc in octave itself and just 
| dump this file from octave-forge.

Fine with me.  Please go ahead and add it.

Thanks,

jwe


More information about the Octave-maintainers mailing list