From ccbb363804471ac51a31d39c93c5e309bf0251e1 Mon Sep 17 00:00:00 2001 From: Dmitry Yurov <d.yurov@fz-juelich.de> Date: Tue, 12 Mar 2019 11:48:57 +0100 Subject: [PATCH] Fix in an example for buildbot CentOS --- .../simulation/ex06_Reflectometry/TimeOfFlightReflectometry.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Examples/python/simulation/ex06_Reflectometry/TimeOfFlightReflectometry.py b/Examples/python/simulation/ex06_Reflectometry/TimeOfFlightReflectometry.py index 75d997344e7..c10e977497e 100644 --- a/Examples/python/simulation/ex06_Reflectometry/TimeOfFlightReflectometry.py +++ b/Examples/python/simulation/ex06_Reflectometry/TimeOfFlightReflectometry.py @@ -47,7 +47,7 @@ def get_simulation(scan_size=500): Defines and returns specular simulation with a qz-defined beam """ - qzs = np.linspace(0.01, 1.0, scan_size, dtype=float) # qz-values + qzs = np.linspace(0.01, 1.0, scan_size) # qz-values scan = ba.QSpecScan(qzs) simulation = ba.SpecularSimulation() simulation.setScan(scan) -- GitLab