Committed by
Gerrit Code Review
Fix bug in OchSignal toString
Change-Id: Ice411f3ea2ed3b3a89069993752427f4298d4134
Showing
1 changed file
with
1 additions
and
2 deletions
... | @@ -253,8 +253,7 @@ public class OchSignal implements Lambda { | ... | @@ -253,8 +253,7 @@ public class OchSignal implements Lambda { |
253 | return String.format("%s{%+d×%.2fGHz ± %.2fGHz}", | 253 | return String.format("%s{%+d×%.2fGHz ± %.2fGHz}", |
254 | this.getClass().getSimpleName(), | 254 | this.getClass().getSimpleName(), |
255 | spacingMultiplier, | 255 | spacingMultiplier, |
256 | - (double) slotGranularity * channelSpacing.frequency().asHz() | 256 | + (double) channelSpacing.frequency().asHz() / Frequency.ofGHz(1).asHz(), |
257 | - / Frequency.ofGHz(1).asHz(), | ||
258 | (double) slotGranularity * ChannelSpacing.CHL_12P5GHZ.frequency().asHz() | 257 | (double) slotGranularity * ChannelSpacing.CHL_12P5GHZ.frequency().asHz() |
259 | / Frequency.ofGHz(1).asHz() / 2.0); | 258 | / Frequency.ofGHz(1).asHz() / 2.0); |
260 | } | 259 | } | ... | ... |
-
Please register or login to post a comment