missing include

John W. Eaton jwe at bevo.che.wisc.edu
Fri Jun 20 15:41:22 CDT 2008


On 20-Jun-2008, Jaroslav Hajek wrote:

| On Fri, Jun 20, 2008 at 10:07 PM, John W. Eaton <jwe at bevo.che.wisc.edu> wrote:
| > On 20-Jun-2008, Jaroslav Hajek wrote:
| >
| > | attached is a trivial fix for missing include statement in MatrixType.h
| >
| > I don't object to this change, but what problem does it solve?
| >
| > jwe
| >
| Um, sorry, I should have mentioned that. It was initiated by a bug
| report on OctaveForge mailing list (octave-dev) by David Rainey on Jun
| 19. Apparently he included MatrixType.h and got spurious errors due to
| octave_idx_type being undeclared in MatrixType.h. Seems like a missing
| dependency to me.

OK.  I guess the Octave sources always happen to include the typedef
before including MatrixType.h, but I don't see a problem with doing it
in the MatrixType.h header itself.  I applied the changeset.

Thanks,

jwe


More information about the Bug-octave mailing list