octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #42666] Bug in q2rot.m function in quaternion


From: anonymous
Subject: [Octave-bug-tracker] [bug #42666] Bug in q2rot.m function in quaternion package
Date: Wed, 02 Jul 2014 17:09:25 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_3) AppleWebKit/537.76.4 (KHTML, like Gecko) Version/7.0.4 Safari/537.76.4

URL:
  <http://savannah.gnu.org/bugs/?42666>

                 Summary: Bug in q2rot.m function in quaternion package
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Wed 02 Jul 2014 05:09:25 PM UTC
                Category: Octave Forge Package
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Crash
                  Status: None
             Assigned to: None
         Originator Name: Kjell H Andersen
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.8.0
        Operating System: Mac OS

    _______________________________________________________

Details:

When trying to execute the q2rot function exactly like the example in the help
file, I get the following error message:

error: atan2: wrong type argument 'class'
error: called from:
error:   /Users/kjell/octave/quaternion-2.2.1/q2rot.m at line 88, column 9

The source of this is a wrong input to the atan2 function.

In quaternion 2.2.1 file q2rot.m line 79:
original line :   s = q.s;
I believe it should be:  s = q.w;






    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?42666>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]