[Bugzilla] [Bug 15470] New: Cannot mix numbers with & without decimals in an array, get compile error.
bugzilla.admin at scilab.org
bugzilla.admin at scilab.org
Sun Mar 4 04:48:04 CET 2018
http://bugzilla.scilab.org/show_bug.cgi?id=15470
--------- Bug Summary -----------
Cannot mix numbers with & without decimals in an array, get compile error.
---------- Changed by ------------
jseale at maine.rr.com
---------- What changed ----------
bug_id, short_desc, product, version, rep_platform, op_sys, bug_status, bug_severity, priority, component, assigned_to, reporter
Bug ID: 15470
Summary: Cannot mix numbers with & without decimals in an
array, get compile error.
Product: Scilab software
Version: 6.0.1
Hardware: (not used)
OS: Windows 10
Status: NEW
Severity: Medium
Priority: (field not used)
Component: Compile
Assignee: bugzilla.admin at scilab.org
Reporter: jseale at maine.rr.com
BUG DESCRIPTION: I enter a row vector, e.g. [ 79.7 83.1 7.7 0 0 ] and often get "parser: Cannot open file
C:\Users\...\SCI_TMP_4924_24170\command.temp. If instead I enter [79.7 83.1 7.7 0. 0.], problem is resolved.
----------------
ERROR LOG:
----------
HOW TO REPRODUCE THE BUG: As shown in brief bug description.
-------------------------
OTHER INFORMATION: I suppose it's sloppy programming to enter whole numbers with no decimal, mixed with decimal numbers, in an array entry, and now
that I recognize the problem I can avoid it. It cost me some time and frustration to narrow the problem down. If a number with no decimal is added
to a vector with decimals, e.g. [ 79.7 83.1 7.7 0. 0.] + 15, that causes no problems, I presume thanks to good Scilab type checking.
------------------
--
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/20180304/ddb28256/attachment.htm>
More information about the Bugzilla
mailing list