diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-01-09 22:09:59 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-01-09 22:09:59 +0000 |
| commit | 287d8bb5eb247e8746718a919091fff09b0b624d (patch) | |
| tree | 7deff4b198f46f92b924ee8de98db6b9116eaf3b | |
| parent | 319df7d7420a32d7bb8584caf91c39ba8aa3e776 (diff) | |
Fix harmless extravagent extra multiplies.
| -rw-r--r-- | src/dcp_time.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dcp_time.cc b/src/dcp_time.cc index 1f3ff06d..47c15a2f 100644 --- a/src/dcp_time.cc +++ b/src/dcp_time.cc @@ -225,8 +225,8 @@ libdcp::operator- (Time a, Time b) float libdcp::operator/ (Time a, Time const & b) { - float const as = a.h * 3600 * 250 + a.m * 60 * 250 + a.s * float (a.e) / a.tcr; - float const bs = b.h * 3600 * 250 + b.m * 60 * 250 + b.s * float (b.e) / b.tcr; + float const as = a.h * 3600 + a.m * 60 + a.s * float (a.e) / a.tcr; + float const bs = b.h * 3600 + b.m * 60 + b.s * float (b.e) / b.tcr; return as / bs; } |
