File diff r27319:ea7c4a418203 → r27320:a815d811abc1
src/linkgraph/flowmapper.cpp
Show inline comments
 
@@ -51,8 +51,8 @@ void FlowMapper::Run(LinkGraphJob &job) 
 
			 * division by 0 if spawn date == last compression date. This matches
 
			 * LinkGraph::Monthly(). */
 
			uint runtime = job.JoinDate() - job.Settings().recalc_time - job.LastCompression() + 1;
 
			for (FlowStatMap::iterator i = flows.begin(); i != flows.end(); ++i) {
 
				i->second.ScaleToMonthly(runtime);
 
			for (auto &it : flows) {
 
				it.second.ScaleToMonthly(runtime);
 
			}
 
		}
 
		/* Clear paths. */