[Bugzilla] [Bug 15490] New: grand(2, 2, 2, "uin", 0, 2^31) // puzzling message = grand: Wrong value for input arguments #4 and #5: Low < High expected.

bugzilla.admin at scilab.org bugzilla.admin at scilab.org
Fri Mar 16 03:41:08 CET 2018


http://bugzilla.scilab.org/show_bug.cgi?id=15490
--------- Bug Summary -----------
grand(2,2,2,"uin",0,2^31) // puzzling message = grand: Wrong value for input arguments #4 and #5: Low < High expected.

---------- Changed by ------------
sgougeon at free.fr

---------- What changed ----------
bug_id, short_desc, product, version, rep_platform, op_sys, bug_status, bug_severity, priority, component, assigned_to, reporter


            Bug ID: 15490
           Summary: grand(2,2,2,"uin",0,2^31) // puzzling message = grand:
                    Wrong value for input arguments #4 and #5: Low < High
                    expected.
           Product: Scilab software
           Version: 6.0.0
          Hardware: (not used)
                OS: All OS
            Status: NEW
          Severity: Medium
          Priority: (field not used)
         Component: Numerical Math
          Assignee: bugzilla.admin at scilab.org
          Reporter: sgougeon at free.fr

BUG DESCRIPTION:
----------------
--> grand(2,2,2,"uin",0,2^31)

grand: Wrong value for input arguments #4 and #5: Low < High expected.

The message is wrong in 2 aspects:
 * argins # are not corrects. Arguments #5 and #6 are concerned, not #4 and #5
 * the required condition is here fulfilled.


In Scilab 5.5.2, the message was correct and explicit:

-->grand(2,2,2,"uin",0,2^31)
                              !--error 999 
a and b must integers with (b-a+1) <= 2147483561 


ERROR LOG:
----------
See above

HOW TO REPRODUCE THE BUG:
-------------------------
grand(2,2,2,"uin",0,2^31)

OTHER INFORMATION:
------------------
Same thing in Scilab 6.0.1

-- 
You are receiving this mail because:
You are watching all bug changes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/bugzilla/attachments/20180316/e796bca0/attachment.htm>


More information about the Bugzilla mailing list