Skip to content

Commit d742620

Browse files
authored
Update Tree-CSP-Solver.md
1 parent 4f0fbad commit d742620

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

md/Tree-CSP-Solver.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ __function__ TREE-CSP-SOLVER(_csp_) __returns__ a solution, or failure
77
 _n_ ← number of variables in _X_
88
 _assignment_ ← an empty assignment
99
 _root_ ← any variable in _X_
10-
 _X_ TOPOLOGICALSORT(_X_, _root_)
10+
 _X_ ← TOPOLOGICALSORT(_X_, _root_)
1111
 __for__ _j_ = _n_ __down to__ 2 __do__
1212
&emsp;&emsp;MAKE\-ARC\-CONSISTENT(PARENT(_X<sub>j</sub>_), _X<sub>j</sub>_)
1313
&emsp;&emsp;__if__ it cannot be made consistent __then return__ _failure_

0 commit comments

Comments
 (0)