Closed m8 closed 2 months ago
Hi @m8 Thank you for this PR! The change looks good to me. However, could you please clarify under what condition heats
could be None
, and add your Signed-off-by:
(https://github.com/damonitor/damo/blob/next/CONTRIBUTING#L6) on the commit message?
Hi, this happens when region.nr_accesses.samples
is 0 in line 134 and program continues and not setting the heats to 0 (line 140). I just changed the commit with setting heat to 0
while initializing.
Thank you for the clarification. I'd prefer keeping it None
at declaration time, and doing the initialization on the constructor (__init__()
), to keep the consistencies with similar other cases. What do you think? Also, could you please add the rational of the change on the commit message?
Ok then let me revert to be consistent with the codebase.
@sjp38 just fixed with regarding to your comments, thanks.
Thank you for the great work, @m8 ! Just merged.
simply fixes the null case for
heats
.