From 651da8c44e6a462d60c4fd9bdc6a819937717fea Mon Sep 17 00:00:00 2001 From: Alexander Lavin Date: Mon, 4 May 2015 09:41:52 -0700 Subject: [PATCH] call private print method correctly; fixes #2101 --- examples/tp/tp_segment_learning.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/tp/tp_segment_learning.py b/examples/tp/tp_segment_learning.py index 2e86a73535..5f40fcb788 100644 --- a/examples/tp/tp_segment_learning.py +++ b/examples/tp/tp_segment_learning.py @@ -229,9 +229,9 @@ def _buildSegmentLearningTrainingSet(self, numOnes=10, numRepetitions= 10): if g_options.verbosity > 1: print "\nTraining sequences" - self.printAllTrainingSequences(trainingSequences) + self._printAllTrainingSequences(trainingSequences) print "\nTest sequence" - self.printAllTrainingSequences([testSequence]) + self._printAllTrainingSequences([testSequence]) return (trainingSequences, [testSequence]) @@ -297,9 +297,9 @@ def _buildSL2TrainingSet(self, numOnes=10, numRepetitions= 10): if g_options.verbosity > 1: print "\nTraining sequences" - self.printAllTrainingSequences(trainingSequences) + self._printAllTrainingSequences(trainingSequences) print "\nTest sequences" - self.printAllTrainingSequences(testSequences) + self._printAllTrainingSequences(testSequences) return (trainingSequences, testSequences)