Skip to contentSkip to conversation

count: Fix trivial nits

PATCH In review SeongJae Park 2 participants 4 messages Dec 27, 2021

lore
Share & tools
lore
#0 lore raw

cover count: Fix trivial nits

This patchset contains two fixes for trivial nits in 'count' chapter.

SeongJae Park (2):
count: Adds a missed unbreakable space
count: Add missed parentheses for balance_count()

 count/count.tex | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Signature · 1 line
2.17.1
#1 lore raw

PATCH 1/2 count: Adds a missed unbreakable space

This commit adds a missed unbreakable space in count chapter.

---
 count/count.tex | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
count/count.tex +1 -1
index a9a36b27..7d7701ff 100644
@@ -1157,7 +1157,7 @@ on a parallel machine.
 
 	To see this, suppose that thread~0 adds the value three to its
 	counter, thread~1 adds the value five to its counter, and
-	threads~2 and 3 sum the counters.
+	threads~2 and~3 sum the counters.
 	If the system is ``weakly ordered'' or if the compiler
 	uses aggressive optimizations, thread~2 might find the
 	sum to be three and thread~3 might find the sum to be five.
Signature · 1 line
2.17.1
#2 lore raw

PATCH 2/2 count: Add missed parentheses for balance_count()

In reply to SeongJae Park

A sentence in count/count.tex doesn't append parentheses for balance_count(). Let's add it so that it can be more consistent.

---
 count/count.tex | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
count/count.tex +1 -1
index 7d7701ff..c8aa959b 100644
@@ -1682,7 +1682,7 @@ Finally, in either case,
 
 It is helpful to look at a schematic depicting how the relationship
 of the counters changes with the execution of first
-\co{globalize_count()} and then \co{balance_count}, as shown in
+\co{globalize_count()} and then \co{balance_count()}, as shown in
 \cref{fig:count:Schematic of Globalization and Balancing}.
 Time advances from left to right, with the leftmost configuration
 roughly that of
Signature · 1 line
2.17.1
#3 lore raw
In reply to SeongJae Park
Quoted 5 lines · SeongJae Park

This patchset contains two fixes for trivial nits in 'count' chapter.

SeongJae Park (2):
count: Adds a missed unbreakable space
count: Add missed parentheses for balance_count()

Good eyes! Queued and pushed, thank you!

Thanx, Paul

Quoted 6 lines
 count/count.tex | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Signature · 1 line
2.17.1