Skip to content

Commit

Permalink
chore: wrap some long lines
Browse files Browse the repository at this point in the history
  • Loading branch information
danroc committed Nov 6, 2022
1 parent daa30dd commit 036ccaf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ Since _t₁ ∈ [⌊t₁⌋, ⌊t₁⌋ + 1)_, then:
- θ > t₀ - ⌊t₁⌋ - 1
- θ < t₂ - ⌊t₁⌋

Observe that the closer _t₁_ is to _⌊t₁⌋_ or _⌊t₁⌋ + 1_, smaller is the error in
the second or first equation above, respectively.
Observe that the closer _t₁_ is to _⌊t₁⌋_ or _⌊t₁⌋ + 1_, smaller is the error
in the second or first equation above, respectively.

We can repeat the above procedure to improve our estimate of _θ_:

Expand Down
5 changes: 3 additions & 2 deletions cmd/htp/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,9 @@ func buildRootCommand() *cobra.Command {
trace := &htp.SyncTrace{
Before: func(i int) bool { return i < count },
After: func(i int, round *htp.SyncRound) bool {
logInfo(silent, "(%d/%d) offset: %+.3f (±%.3f) seconds", i+1, count,
model.Offset().Sec(), model.Margin().Sec())
logInfo(
silent, "(%d/%d) offset: %+.3f (±%.3f) seconds", i+1,
count, model.Offset().Sec(), model.Margin().Sec())
return true
},
}
Expand Down

0 comments on commit 036ccaf

Please # to comment.