octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Fix for is_intxx_type() overloaded methods


From: John W. Eaton
Subject: Fix for is_intxx_type() overloaded methods
Date: Sun, 22 Oct 2006 12:32:25 -0400

On 22-Oct-2006, Michael Goffioul wrote:

| The patch below fixes a missing "const" modifier in overloaded 
| is_intxx_type()
| functions of integer octave types (matrix and scalar). In MSVC, the 
| result is that
| the predicate declared in ov-intx.h does not overload the one of 
| octave_base-value,
| but defines another one. Calling is_int32_type() on octave_int32_scalar 
| object then
| returns false (I guess the compiler prefer to use the const version by 
| default).

I just fixed this problem yesterday.  See

https://www.cae.wisc.edu/pipermail/bug-octave/2006-October/000961.html

Thanks,

jwe


reply via email to

[Prev in Thread] Current Thread [Next in Thread]