Skip to content

Commit 0464fb0

Browse files
committed
Add missing parentheses
Signed-off-by: Stefan Marr <[email protected]>
1 parent 4454650 commit 0464fb0

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

benchmarks/SOM/CD/RedBlackTree.som

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ RedBlackTree = (
252252
x := anX.
253253
xParent := anXParent.
254254

255-
x ~= root and: [ x isNil or: [ x color = #black ]] whileTrue: [
255+
(x ~= root and: [ x isNil or: [ x color = #black ]]) whileTrue: [
256256
x == xParent left
257257
ifTrue: [
258258
| w |

benchmarks/SOMns/CD.ns

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ class CDSuite usingPlatform: platform andHarness: harness = (
410410
x:: anX.
411411
xParent:: anXParent.
412412

413-
x ~= root and: [ x isNil or: [ x color = #black ]] whileTrue: [
413+
(x ~= root and: [ x isNil or: [ x color = #black ]]) whileTrue: [
414414
x == xParent left
415415
ifTrue: [
416416
| w |

benchmarks/Smalltalk/CD/RedBlackTree.som

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ RedBlackTree = (
252252
x := anX.
253253
xParent := anXParent.
254254

255-
x ~= root and: [ x isNil or: [ x color = #black ]] whileTrue: [
255+
(x ~= root and: [ x isNil or: [ x color = #black ]]) whileTrue: [
256256
x == xParent left
257257
ifTrue: [
258258
| w |

0 commit comments

Comments
 (0)