bugGNU Octave - Bugs: bug #49576, ** On entry to ZLASCL parameter...

 
 

bug #49576: ** On entry to ZLASCL parameter number 4 had an illegal value

Submitted by:  None
Submitted on:  Fri 11 Nov 2016 03:15:20 AM UTC  
 
Category: Octave FunctionSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: FixedAssigned to: None
Originator Name: SFUOriginator Email: -unavailable-
Open/Closed: ClosedRelease: 4.0.0
Operating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Fri 11 Nov 2016 06:28:27 PM UTC, comment #2:

Yes, I get the same BLAS error message as the OP with Octave 4.0.3, and with 4.2.0-rc4 the warning that Rik shows in comment #1 instead. I agree this looks like a misunderstanding about the division operator and not a bug.

Mike Miller <mtmiller>
Project Administrator
Fri 11 Nov 2016 04:21:09 AM UTC, comment #1:

Under the soon to be released 4.2.0, I get the following warning

Line 74 is

This shows you are trying to divide a matrix by another matrix. Did you mean to use the operator './' instead which would divide each entry in X instead?

My guess is that you have something wrong in the code, rather than a problem with Octave itself. You can use the debugger to step through your code to see what is happening.

Try

Keep hitting return to step through the code line by line. You can print out variables just by typing their name.

Rik <rik5>
Project Administrator
Fri 11 Nov 2016 03:15:20 AM UTC, original submission:

I do homework, and I find error:

    • On entry to ZLASCL parameter number 4 had an illegal value

error: func541: exception encountered in Fortran subroutine zgelsd_
error: called from
func541 at line 74 column 8
No541 at line 82 column 5
error: evaluating argument list element number 2
error: called from
No541 at line 82 column 5

where

line 73 |function Fx = func541(X)
line 74 | Fx = ((X / (log10(X - 1).^4)) - 3) ;
line 75 |end

line 81 | X = -10:0.001:10 ;
line 82 | plot(X,func541(X))

(It's in No541.m)
I don't now, where mistackes, maybe my code have mistackes.

double octave dropped without an error message.
(This was done no51.m program)

$ uname -a
Linux victor-Aspire-4520 4.4.0-45-generic #66-Ubuntu SMP Wed Oct 19 14:12:37 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
(LM 18 mate)

GNU Octave, version 4.0.0
Copyright (C) 2015 John W. Eaton and others.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. For details, type 'warranty'.

Octave was configured for "x86_64-pc-linux-gnu".

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #38933:  No51.m added by None (7KiB - text/x-objcsrc)
file #38934:  No541.m added by None (4KiB - text/x-objcsrc)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by mtmiller (Posted a comment)
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by None (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 11 Nov 2016 08:12:27 PM UTCrik5Open/ClosedOpen=>Closed
    Fri 11 Nov 2016 04:21:09 AM UTCrik5StatusNone=>Fixed
    Fri 11 Nov 2016 03:15:20 AM UTCNoneAttached File-=>Added No51.m, #38933
      Attached File-=>Added No541.m, #38934

    Back to the top


    Powered by Savane 3.1-cleanup1