diff --git a/data_structures/dsu_path_compression.cpp b/data_structures/dsu_path_compression.cpp index d6700ea6c..9d9a9e094 100644 --- a/data_structures/dsu_path_compression.cpp +++ b/data_structures/dsu_path_compression.cpp @@ -35,8 +35,8 @@ class dsu { vector p; ///< keeps track of the parent of ith element vector depth; ///< tracks the depth(rank) of i in the tree vector setSize; ///< size of each chunk(set) - vector maxElement; /// minElement; /// maxElement; ///< maximum of each set to which i belongs to + vector minElement; ///< minimum of each set to which i belongs to public: /** * @brief contructor for initialising all data members.