bugGNU Octave - Bugs: bug #42666, quaternion: bug in q2rot.m function


bug #42666: quaternion: bug in q2rot.m function

Submitted by:  None
Submitted on:  Wed 02 Jul 2014 05:09:25 PM UTC  
Category: Octave Forge PackageSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Segfault, Bus Error, etc.
Status: FixedAssigned to: None
Originator Name: Kjell H AndersenOriginator Email: -unavailable-
Open/Closed: ClosedRelease: 3.8.0
Operating System: Mac OS

Add a New Comment(Rich Markup)

You are not logged in

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


Thu 03 Jul 2014 06:53:58 PM UTC, comment #2:

Thanks for your report, I pushed the following changeset:


Lukas Reichlin <paramaniac>
Thu 03 Jul 2014 01:36:49 PM UTC, comment #1:

Adding maintainer of package to mail notification.

Carnë Draug <carandraug>
Project Member
Wed 02 Jul 2014 05:09:25 PM UTC, original submission:

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;



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

Attach File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by mtmiller (Updated the item)
  • -unavailable- added by paramaniac (Posted a comment)
  • -unavailable- added by carandraug (Lukas Reichlin - maintainer of quaternion package)
  • -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
    Sun 22 Feb 2015 05:05:00 PM UTCmtmillerStatusNone=>Fixed
    Thu 03 Jul 2014 01:36:49 PM UTCcarandraugSummaryBug in q2rot.m function in quaternion package=>quaternion: bug in q2rot.m function
      Carbon-Copy-=>Added -unavailable-

    Back to the top

    Powered by Savane 3.1-cleanup1