Commit 1a6d7458 authored by Sebastien Robin's avatar Sebastien Robin

simulation/Exit.py : remove useless code

parent 8a7a7af1
...@@ -255,12 +255,3 @@ class Exit(CoreObject): ...@@ -255,12 +255,3 @@ class Exit(CoreObject):
json['results']['taktTime']['avg']=self.TaktTime[0] json['results']['taktTime']['avg']=self.TaktTime[0]
json['results']['taktTime']['max']=self.TaktTime[0] json['results']['taktTime']['max']=self.TaktTime[0]
G.outputJSON['elementList'].append(json) G.outputJSON['elementList'].append(json)
#takes the array and checks if all its values are identical (returns false) or not (returns true)
#needed because if somebody runs multiple runs in deterministic case it would crash!
def checkIfArrayHasDifValues(self, array):
difValuesFlag=False
for i in range(1, len(array)):
if(array[i]!=array[1]):
difValuesFlag=True
return difValuesFlag
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