octave-maintainers
[Top][All Lists]
Advanced

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

double(true) not implemented


From: Josep Monés i Teixidor
Subject: double(true) not implemented
Date: Wed, 15 Sep 2004 23:46:21 +0200

Hi,

Perhaps this is being worked on but in case nobody noticed explicit
conversion from logical to double fails (although implicit conversion
works as a workaround by now):

octave:1> double(true)
error: invalid conversion from bool to scalar
octave:1> true+0
ans = 1

Regards,
-- 
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]