Skip to content

Commit 36c1d46

Browse files
author
Yoshua Bengio
committed
minor change in comment
1 parent 4d26524 commit 36c1d46

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

doc/rbm.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -667,7 +667,7 @@ values :math:`\{0,1,...,N\}`, from one update to another.
667667
# calculate free energy for the given bit configuration
668668
fe_xi = self.free_energy(xi)
669669

670-
# flip bit x_i of matrix xi and preserve all other bits x_{\i}
670+
# flip bit x_i of matrix xi and preserve all other bits x_{-i}
671671
# Equivalent to xi[:,bit_i_idx] = 1-xi[:, bit_i_idx]
672672
# NB: slice(start,stop,step) is the python object used for
673673
# slicing, e.g. to index matrix x as follows: x[start:stop:step]

0 commit comments

Comments
 (0)