diff --git a/MeshLib/MeshQuality/ElementQualityInterface.h b/MeshLib/MeshQuality/ElementQualityInterface.h
index 7fd3742fda4a52e638fade4a6545f812b553311a..83fe3d12aca64c679086ff283ccd8816aaebf9a3 100644
--- a/MeshLib/MeshQuality/ElementQualityInterface.h
+++ b/MeshLib/MeshQuality/ElementQualityInterface.h
@@ -65,8 +65,7 @@ public:
         if (_quality_tester)
             return _quality_tester->getHistogram(static_cast<std::size_t>(n_bins));
 
-        std::vector<double> empty_quality_vec(0);
-        return empty_quality_vec;
+        return BaseLib::Histogram<double>{{}};
     }
 
     /// Writes a histogram of the quality vector to a specified file.