diff --git a/SimoxUtility/color/ColorMap.h b/SimoxUtility/color/ColorMap.h
index 2cb6bdcd6333d127f78abf3969b1801ae1625129..27c1e2f7f86086fa435b45bed148771cd133937f 100644
--- a/SimoxUtility/color/ColorMap.h
+++ b/SimoxUtility/color/ColorMap.h
@@ -87,7 +87,7 @@ namespace simox::color
         template <class T>
         void set_vmin(const std::vector<T>& values, std::function<float(const T&)> unaryFunc)
         {
-            set_vmax(simox::alg::min(values, unaryFunc));
+            set_vmin(simox::alg::min(values, unaryFunc));
         }
         /**
          * @brief Set the value maximum to the maximum of `values`, measured by `unaryFunc`.