Uploaded image for project: 'IGB'
  1. IGB
  2. IGBF-394

The "Sqrt" graph track operation is performing the "Power" operation rather than Square Root

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      *Version noticed: 8.3.0

      While testing graph track operations I noticed that the "Sqrt" operation is not functioning properly.

      Instead of taking the Square Root of the values it raises the values to a power of 2.

      Also, it adds the words "Power - " to the beginning of the track title undergoing the operation (a clear sign that the Sqrt operation is off).

      It seems that this "Sqrt" function has been implemented to "Square" the values rather than finding the "SquareRoot" as the abbreviation indicates.

        Attachments

          Issue Links

            Activity

            Hide
            mason Mason Meyer (Inactive) added a comment -

            My testing verifies that the "Sqrt" operation is now functioning properly after changes to the code. Since this story is resolved it will now be closed.

            Show
            mason Mason Meyer (Inactive) added a comment - My testing verifies that the "Sqrt" operation is now functioning properly after changes to the code. Since this story is resolved it will now be closed.
            Hide
            tmall Tarun Mall (Inactive) added a comment -

            commit e7e7de74c0b188b9daf08a416385a62da17c63e2
            Author: Tarun K. Mall <c2tarun@hotmail.com>
            Date: Tue Mar 10 14:39:13 2015 -0400

            Sqrt now calculating square root

            Show
            tmall Tarun Mall (Inactive) added a comment - commit e7e7de74c0b188b9daf08a416385a62da17c63e2 Author: Tarun K. Mall <c2tarun@hotmail.com> Date: Tue Mar 10 14:39:13 2015 -0400 Sqrt now calculating square root
            Hide
            mason Mason Meyer (Inactive) added a comment -

            If someone tries to take the Sqrt of a graph containing negative numbers then math says the sqrt should be "i" (an imaginary number). This, however, can't be drawn on a graph. What IGB currently does is draw to negative infinity. Instead, the sqrt of negative portions of graphs should just draw as zero. (It would be nice to have a way to show discontinuity of the graph, but this is not currently possible with IGB's current graph implementation.)

            Show
            mason Mason Meyer (Inactive) added a comment - If someone tries to take the Sqrt of a graph containing negative numbers then math says the sqrt should be "i" (an imaginary number). This, however, can't be drawn on a graph. What IGB currently does is draw to negative infinity. Instead, the sqrt of negative portions of graphs should just draw as zero. (It would be nice to have a way to show discontinuity of the graph, but this is not currently possible with IGB's current graph implementation.)
            Hide
            mason Mason Meyer (Inactive) added a comment -

            It seems that the graphs being drawn to negative infinity is no longer a reproducible behavior. Possibly, code refactoring may have corrected this. Since this operation is now functioning as expected the story will now be closed.

            Show
            mason Mason Meyer (Inactive) added a comment - It seems that the graphs being drawn to negative infinity is no longer a reproducible behavior. Possibly, code refactoring may have corrected this. Since this operation is now functioning as expected the story will now be closed.

              People

              • Assignee:
                mason Mason Meyer (Inactive)
                Reporter:
                mason Mason Meyer (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: