From b0a39f2e9ea95a7c865605e0826fd7fe936ebbec Mon Sep 17 00:00:00 2001 From: Joseph Ramsay <joseph.ramsay@stfc.ac.uk> Date: Fri, 6 Oct 2017 08:36:42 +0100 Subject: [PATCH] Re #20803 Fixed list index problem in MatchPeaks doctest --- docs/source/algorithms/MatchPeaks-v1.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/algorithms/MatchPeaks-v1.rst b/docs/source/algorithms/MatchPeaks-v1.rst index 36e2148b2d5..d245e56808a 100644 --- a/docs/source/algorithms/MatchPeaks-v1.rst +++ b/docs/source/algorithms/MatchPeaks-v1.rst @@ -39,7 +39,7 @@ Usage output_ws = MatchPeaks(InputWorkspace=ws) - print('Peak height at center: {:.11f}'.format(output_ws.readY(0)[ws.blocksize() / 2])) + print('Peak height at center: {:.11f}'.format(output_ws.readY(0)[ws.blocksize() // 2])) Output ###### -- GitLab