[Scilab-Dev] Bug 15184

Samuel Gougeon sgougeon at free.fr
Mon Aug 14 13:38:08 CEST 2017


Le 14/08/2017 à 12:14, Viktor Mileikovskyi a écrit :
> Dear Developers!
>
> The bug 15184 <http://bugzilla.scilab.org/show_bug.cgi?id=15184>has 
> been successfully fixed in 6.0 branch
At least, the crash no longer occurs.
However, when we try to compare a complex to a real like with 2<%i, an 
error should be yielded instead of returning %F. Otherwise, the 
complementary comparison 2>=%i could be interpreted as %T, what is 
definitely not the case.
So: when such a comparison is done, we may test the existence of 
%s_1_s_custom() , that may be defined in an external way (%s_1_s() being 
already defined in Scilab).
  * If it exists: we call it
  * otherwise, we yield an error with a message inviting the user to 
define %s_1_s_custom()

I will propose a commit in this way, on the 6.0 branch.

Samuel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/dev/attachments/20170814/447bf0d8/attachment.htm>


More information about the dev mailing list