diff --git a/src/HPWHHeatSources.cc b/src/HPWHHeatSources.cc
index eb34ee4c..348ab49a 100644
--- a/src/HPWHHeatSources.cc
+++ b/src/HPWHHeatSources.cc
@@ -383,9 +383,7 @@ void HPWH::HeatSource::addHeat(double externalT_C,double minutesToRun) {
 	case CONFIG_SUBMERGED:
 	case CONFIG_WRAPPED:
 	{
-		static std::vector<double> heatDistribution;
-		if (heatDistribution.size() != hpwh->getNumNodes())
-			heatDistribution.resize(hpwh->getNumNodes());
+		std::vector<double> heatDistribution(hpwh->getNumNodes());
 
 		//calcHeatDist takes care of the swooping for wrapped configurations
 		calcHeatDist(heatDistribution);