diff --git a/src/DGtal/topology/CubicalComplex.ih b/src/DGtal/topology/CubicalComplex.ih index df17e0d37a..4ff8186fdd 100644 --- a/src/DGtal/topology/CubicalComplex.ih +++ b/src/DGtal/topology/CubicalComplex.ih @@ -198,7 +198,7 @@ DGtal::CubicalComplex:: fillData( Data data ) { for ( Dimension d = 0; d <= dimension; ++d ) - clearData( d, data ); + fillData( d, data ); } //----------------------------------------------------------------------------- template