Fixed invalid json-type

This commit is contained in:
glax 2023-04-09 16:49:22 +02:00
parent 8bd0c5a4d4
commit 05ae0bff6e

View File

@ -57,8 +57,8 @@ app.Run();
internal class PathResult
{
[JsonInclude]public TimeSpan calcTime;
[JsonInclude] public double pathWeight = double.PositiveInfinity;
[JsonInclude] public double pathTravelDistance = double.PositiveInfinity;
[JsonInclude] public double pathWeight = double.MaxValue;
[JsonInclude] public double pathTravelDistance = double.MaxValue;
[JsonInclude]public List<PathNode> pathNodes;
public PathResult(TimeSpan calcTime, List<PathNode> pathNodes)