From 5782194c5538a594ee0f4d05dec33fe40b948e43 Mon Sep 17 00:00:00 2001 From: Christian Heinemann Date: Sat, 21 Oct 2023 18:12:38 +0200 Subject: [PATCH] compare operator for sim parameters fixed --- source/EngineInterface/SimulationParameters.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source/EngineInterface/SimulationParameters.h b/source/EngineInterface/SimulationParameters.h index 43e4f6e60..acdfa7c96 100644 --- a/source/EngineInterface/SimulationParameters.h +++ b/source/EngineInterface/SimulationParameters.h @@ -255,6 +255,9 @@ struct SimulationParameters if (radiationMinCellAge[i] != other.radiationMinCellAge[i]) { return false; } + if (cellFunctionReconnectorRadius[i] != other.cellFunctionReconnectorRadius[i]) { + return false; + } } if (numParticleSources != other.numParticleSources) { return false; @@ -313,6 +316,7 @@ struct SimulationParameters && cellFunctionConstructorMutationPreventDepthIncrease == other.cellFunctionConstructorMutationPreventDepthIncrease && cellFunctionConstructorCheckCompletenessForSelfReplication == other.cellFunctionConstructorCheckCompletenessForSelfReplication && cellFunctionAttackerDestroyCells == other.cellFunctionAttackerDestroyCells + && cellFunctionReconnectorActivityThreshold == other.cellFunctionReconnectorActivityThreshold ; }