octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #66647] num2str gives an unexpected warning ab


From: Dmitri A. Sergatskov
Subject: [Octave-bug-tracker] [bug #66647] num2str gives an unexpected warning about concatenation
Date: Thu, 9 Jan 2025 16:33:16 -0500 (EST)

Follow-up Comment #3, bug #66647 (group octave):

If I enable this warning, I can reproduce "num2str(2)"
but not the "plot(1:10)" messages (octave 10).


octave:6> warning ('on', 'Octave:mixed-string-concat')
octave:7> warning ('query', 'Octave:mixed-string-concat')
"Octave:mixed-string-concat" warning state is "on"
octave:8> num2str(2)
warning: concatenation of different character string types may have unintended
consequences
warning: called from
    num2str at line 143 column 7

ans = 2
octave:9> plot(1:10)
octave:10> 


Dmitri.
-- 



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?66647>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/

Attachment: signature.asc
Description: PGP signature


reply via email to

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