Skip to content

Commit

Permalink
use nest
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian-B committed Oct 21, 2024
1 parent f60869b commit 7f7edb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pacman/model/resources/multi_region_sdram.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def nest(self, region: _RegionKey, other: AbstractSDRAM):
if isinstance(r, MultiRegionSDRAM):
r.merge(other)
else:
other.add_cost(region, r.fixed, r.per_timestep)
other.nest(region, r)
self.__regions[region] = other
else:
self.__regions[region] += other
Expand Down

0 comments on commit 7f7edb5

Please sign in to comment.