From e8afec4f0e652840d1579b4a3a8b4ad5ca6ea284 Mon Sep 17 00:00:00 2001 From: Joseph Ramsay <joseph.ramsay@stfc.ac.uk> Date: Thu, 5 Oct 2017 17:12:39 +0100 Subject: [PATCH] Re #20718 Actually updates random in ExportTimeSeriesLog --- docs/source/algorithms/ExportTimeSeriesLog-v1.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/source/algorithms/ExportTimeSeriesLog-v1.rst b/docs/source/algorithms/ExportTimeSeriesLog-v1.rst index bb223681bff..e1816edca98 100644 --- a/docs/source/algorithms/ExportTimeSeriesLog-v1.rst +++ b/docs/source/algorithms/ExportTimeSeriesLog-v1.rst @@ -94,7 +94,7 @@ Output: # Create a new log testprop = mk.FloatTimeSeriesProperty("Temp") - import random + from numpy import random random.seed(10) for i in range(60): randsec = random.randint(0, 59) @@ -121,7 +121,7 @@ Output: .. testoutput:: ExExpTempEvent Length of X = 2, Length of Y = 1. - X[0] = 26089828000000.0, Y[0] = 2095.98009 + X[0] = 26089801000000.0, Y[0] = 1958.93574 Number of events = 40 .. categories:: -- GitLab