Commit de9267c2 authored by Felix Dietrich's avatar Felix Dietrich
Browse files

Bugfix: osm does not crash anymore when a pedestrian does not have a target

parent 04ece8f7
......@@ -51,6 +51,11 @@ public abstract class AbstractPotentialFieldTarget implements IPotentialTargetGr
public double getTargetPotential(final VPoint pos, final Agent ped) {
return 0.0;
CellGrid potentialField;
double targetPotential = Double.MAX_VALUE;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment