Opened 6 years ago

Closed 6 years ago

#3288 enhancement closed fixed (fixed)

ampserver.py divide is broken

Reported by: davep Owned by:
Priority: normal Milestone:
Component: core Keywords:
Cc: Branch:
Author: Launchpad Bug:

Description

The ampserver.py example code is broken for the divide case.

  1. The variable is misnamed at one point.
  1. The result isn't necessarily a floating point value.

Attachments (1)

0001-Fix-example.patch (888 bytes) - added by davep 6 years ago.

Download all attachments as: .zip

Change History (3)

Changed 6 years ago by davep

comment:1 Changed 6 years ago by exarkun

  • Resolution set to fixed
  • Status changed from new to closed

(In [23920]) Apply 0001-Fix-example.patch

Author: davep
Reviewer: exarkun
Fixes: #3288

Change the ampserver example to always do float division and to use the
correct name when returning the result of the Divide command.

comment:2 Changed 3 years ago by <automation>

  • Owner glyph deleted
Note: See TracTickets for help on using tickets.