[Scilab-users] Logical Operations (&&, ||) with tlist, mlist, or UserType arguments badly crashes Scilab 6.0.0
Dirk Reusch
lists at kybdr.de
Sun Mar 12 22:00:07 CET 2017
Hello Samuel,
Taking also into account my last post (cf. Mar 10, 2017; 3:34pm), one
may summarize as follows:
Scilab 6.0 crashes when using
1) "&&" or "||" with tlist, mlist, or UserTyper arguments
2) "~=" with UserType arguments
Do you think these issues/bugs issues will be fixed in the near future?
Thanks and best regards,
Dirk
On Sun, 12 Mar 2017 16:47:43 +0100
Samuel Gougeon <sgougeon at free.fr> wrote:
> Hello Dirk,
>
> Le 12/03/2017 à 15:24, Dirk Reusch a écrit :
> > Using precompiled Scilab 6.0.0 Linux 64bit, the following procedure
> > crashes Scilab silently ...
> >
> > Startup execution:
> > loading initial environment
> >
> > --> a=tlist("T")
> > a =
> > a(1)
> > T
> >
> > --> a & a
> >
> > Undefined operation for the given operands.
> > check or define function %T_h_T for overloading.
> >
> > --> a && a
> >
> > ... SCILAB CRASHES !!!
>
> Confirmed. It is clearly a bug, very similar to this one:
> http://bugzilla.scilab.org/15008
>
> By the way, we may be wondering about the overloading codes for &&
> and ||, that are not documented.
> If there are no specific codes and codes of & and | should be used,
> how would it be possible from the overloading function to distinguish
> between a call to & from a call to &&?
> But this is another question, beyond the crash.
>
>
> _______________________________________________
> users mailing list
> users at lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users
More information about the users
mailing list