Page 1 of 1

Dead code in mixing

Posted: Fri Feb 25, 2011 4:46 pm
by dcaliste
Hello,

In my current 6.7 branch, I've put all mixing routines in a unique directory 56_mixing. Now, that they have been isolated, I'm looking at simplifying them. I've found several dead parts in these routines:
- in sqnormm_v(), mult is always 1 so the do loop is useless ;
- in dotprodm_v(), mult1 and mult2 are also always 1 ;
- in dotprodm_v(), cpldot is always 1 so the else part of the if is useless.

Is this code relevant for future use or can I remove it to have smaller and easier to read routines ?

Damien.

Re: Dead code in mixing

Posted: Wed Mar 16, 2011 1:51 pm
by pouillon
Seeing the absence of answers, it seems that nobody is planning to do anything on that part. I personally always welcome the removal of dead code. Just ask Xavier for confirmation.