I noticed that in the recombination_weights.py file, at line 237 the code calculates the value of 1 squared. Is there a reason for this? Will it not just get optimized out by the interpreter?
The reason is to remind (me) why we see the one in the nominator of this expression: it comes from $(\sum_i |w_i|)^2$ which needs to be one for this code line to be correct.
Hello,
I noticed that in the recombination_weights.py file, at line 237 the code calculates the value of 1 squared. Is there a reason for this? Will it not just get optimized out by the interpreter?