Closed GregoryMorse closed 11 months ago
Merging #362 (73c3fa0) into master (01fb78c) will not change coverage. The diff coverage is
n/a
.
Pending this passing the unit tests, it has my approval.
@GregoryMorse Could you update the CHANGELOG?
@GregoryMorse Could you update the CHANGELOG?
All set. Was looking into if a more unified treatment of the odd-sized loop Hafnians was possible, but only noticed this small improvement thus far.
Context:: The loop Hafnian for odd sized matrices contains an excessive bound, making it a code readability issue and efficiency issue.
Description of the Change: In the inner-loop,
powtrace[i // 2]
reaches a maximum atn == i
according to the loop range, hence the power-trace need not compute any additional power traces.Benefits: Readability and efficiency.
Possible Drawbacks:
Related GitHub Issues: