From c6f955a62f7e454ca6674e720922029eeec524ba Mon Sep 17 00:00:00 2001 From: ariotte <ariotte@PC-EII16.admr.insa> Date: Mon, 25 Jun 2018 11:28:16 +0200 Subject: [PATCH] remove useless (float) cast for default filter --- app/Algorithms/Pyramid.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Algorithms/Pyramid.cpp b/app/Algorithms/Pyramid.cpp index 72b7e49..ca11337 100644 --- a/app/Algorithms/Pyramid.cpp +++ b/app/Algorithms/Pyramid.cpp @@ -126,7 +126,7 @@ void Filters::copy_filter(const Filtre &source, Filtre &dest ) { void Filters::getDefault( Filtre &to_fill ) { strcpy( to_fill.nom_f, "default - gaussien" ); - to_fill.taille_f = (float)2; + to_fill.taille_f = 2; to_fill.coeff_f[0] = (float)0.4; to_fill.coeff_f[1] = (float)0.25; to_fill.coeff_f[2] = (float)0.05; -- GitLab