Opened 13 years ago

Closed 13 years ago

#3258 closed Bugs (fixed)

Problem with atan2 interface in Boost.Units

Reported by: james.nate.knight@… Owned by: Matthias Schabel
Milestone: Boost 1.40.0 Component: units
Version: Boost 1.39.0 Severity: Cosmetic
Keywords: Units atan2 Cc:

Description

The interface for atan2 in the Boost.Units cmath header seems overly restrictive. Since the function implements atan(x/y), it seems the interface should only require that the dimensions of the quantities are the same not that both quantities are dimensionless.

Change History (1)

comment:1 by Steven Watanabe, 13 years ago

Resolution: fixed
Status: newclosed

(In [54873]) Loosen the requirements on atan2. Fixes #3258

Note: See TracTickets for help on using tickets.