Skip to content

Commit

Permalink
compare operator for sim parameters fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
chrxh committed Oct 21, 2023
1 parent dbf3af7 commit 5782194
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions source/EngineInterface/SimulationParameters.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -313,6 +316,7 @@ struct SimulationParameters
&& cellFunctionConstructorMutationPreventDepthIncrease == other.cellFunctionConstructorMutationPreventDepthIncrease
&& cellFunctionConstructorCheckCompletenessForSelfReplication == other.cellFunctionConstructorCheckCompletenessForSelfReplication
&& cellFunctionAttackerDestroyCells == other.cellFunctionAttackerDestroyCells
&& cellFunctionReconnectorActivityThreshold == other.cellFunctionReconnectorActivityThreshold
;
}

Expand Down

0 comments on commit 5782194

Please sign in to comment.