[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Integration in 3.2
From: |
Carlo de Falco |
Subject: |
Re: Integration in 3.2 |
Date: |
Fri, 26 Jun 2009 12:57:12 +0200 |
2009/6/26 Marcin Sleczka <address@hidden>:
>
> Hey guys what's the matter with integration in Octave 3.2?
> I've got some code:
>
> function u=M0
> y=quad("funkcja", -1./2, 1./2);
> endfunction;
The value of the output parameter "u" is never set in this function so
when you do
> octave-3.2.0:10> v=M0
no value is produced by the right hand side expression to assign to
the left hand side "v",
which is exactly what the warning message
> warning: M0: some elements in list of return values are undefined
is telling you. And of course "v" is set to an empty matrix
> v = [](0x0)
I wonder how this could work in 3.0.5, probably you just didn't see a
warning for some reason...
c.