diff --git a/VectoCore/VectoCore/OutputData/DeclarationReport.cs b/VectoCore/VectoCore/OutputData/DeclarationReport.cs index b699920dd7c54af7230f02b7ca1f04176ebda37f..0cc738025db9bdd343a169940f18e1f5e43a6f9a 100644 --- a/VectoCore/VectoCore/OutputData/DeclarationReport.cs +++ b/VectoCore/VectoCore/OutputData/DeclarationReport.cs @@ -251,7 +251,7 @@ namespace TUGraz.VectoCore.OutputData entry.Initialize(runData); lock (Results) { var exÃstingResult = Results.SingleOrDefault(e => - e.Mission == entry.Mission && e.LoadingType == entry.LoadingType && e.OVCMode == entry.OVCMode); + e.Mission == entry.Mission && e.LoadingType == entry.LoadingType && e.OVCMode == entry.OVCMode && e.VehicleClass == entry.VehicleClass); if (exÃstingResult != null) { //We already have a result for this run stored, this can happen with iterative runs, in this case we have to remove the old result Results.Remove(exÃstingResult);