forked from SeAIPalette/SeAIPalette
This commit is contained in:
parent
d3adaa5643
commit
89652e2ee0
|
@ -18,7 +18,6 @@ def generate_agent_fields(fields, ship_num, splited_areas):
|
|||
for _ in range(ship_num)], axis=0)
|
||||
for ship_id in range(1, ship_num+1):
|
||||
cur_fields = agents_fields[ship_id-1]
|
||||
# print((splited_areas != ship_id) * (splited_areas != -1))
|
||||
cur_fields[(splited_areas != ship_id) * (splited_areas != -1)] += 1
|
||||
return agents_fields
|
||||
|
||||
|
|
Loading…
Reference in New Issue