From cddfdc366e9a8e1c3e27bf6d5d06811372915f3d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bogumi=C5=82=20Kami=C5=84ski?= Date: Sat, 19 Mar 2022 09:47:03 +0100 Subject: [PATCH] fix case of C --- ch01.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ch01.jl b/ch01.jl index c8207ed..8102398 100644 --- a/ch01.jl +++ b/ch01.jl @@ -100,8 +100,8 @@ plot(map([:time, :size], ["execution time (relative to C)", "code size (relative to C)"]) do col, title df_plot = unstack(df, :problem, :language, col) - df_plot[!, Not(:problem)] ./= df_plot.c - select!(df_plot, Not(:c)) + df_plot[!, Not(:problem)] ./= df_plot.C + select!(df_plot, Not(:C)) scatter(df_plot.problem, Matrix(select(df_plot, Not(:problem))); labels=permutedims(names(df_plot, Not(:problem))), ylabel=title,