help-octave
[Top][All Lists]
Advanced

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

int8(0)==0 ?


From: Josep Monés i Teixidor
Subject: int8(0)==0 ?
Date: Thu, 02 Sep 2004 20:29:57 +0200

Hi!

Now that Octave 2.1.58 is out, I'm checking if the recent files I
contributed support new types correctly, but I face a problem: in
padarray.m I need to check if a scalar is 0, but scalar can be any type.

If I try:

octave:1> int8(0)==0
error: binary operator `==' not implemented for `int8 scalar' by
`scalar' operations
error: evaluating binary operator `==' near line 1, column 8

Shouldn't this work?

I'm mostly sure that I have current CVS version (so 2.1.58  is guess?)
but I could have miss some updates (sorry if this is the case).


Thanks!

-- 
Josep Monés i Teixidor
Clau GnuPG: gpg --recv-keys 80E85CC4

Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

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