[plotter] disable usused std and average computation to prevent glib warning (fix #1936)

This commit is contained in:
Gautier Hattenberger
2016-11-08 21:59:51 +01:00
parent cf2705d1c7
commit 1c7d9541dc
+2 -2
View File
@@ -282,11 +282,11 @@ class plot = fun ~size ~update_time ~width ~height ~packing () ->
dr#set_foreground (`NAME a.color);
dr#lines !curve;
end;
let fn = float !n in
(*let fn = float !n in
let avg = !sum /. fn in
let stdev = sqrt ((!sum_squares -. fn *. avg *. avg) /. fn) in
set_float_value a.average avg;
set_float_value a.stdev stdev;
set_float_value a.stdev stdev;*)
(* Title *)
Pango.Layout.set_text layout title;