Skip to content
Snippets Groups Projects
Commit b0a39f2e authored by Joseph Ramsay's avatar Joseph Ramsay
Browse files

Re #20803 Fixed list index problem in MatchPeaks doctest

parent 721394ab
No related branches found
No related tags found
No related merge requests found
...@@ -39,7 +39,7 @@ Usage ...@@ -39,7 +39,7 @@ Usage
output_ws = MatchPeaks(InputWorkspace=ws) 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 Output
###### ######
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment