[Quantproject-developers] QuantProject/b4_Business/a2_Strategies WeightedPositions.cs, 1.16, 1.17
Brought to you by:
glauco_1
|
From: Glauco S. <gla...@us...> - 2010-03-28 13:41:58
|
Update of /cvsroot/quantproject/QuantProject/b4_Business/a2_Strategies In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv9657/a2_Strategies Modified Files: WeightedPositions.cs Log Message: The name for the method Reverse() has now been changed by ReverseSigns(), because List<T> already has a method Reverse() Index: WeightedPositions.cs =================================================================== RCS file: /cvsroot/quantproject/QuantProject/b4_Business/a2_Strategies/WeightedPositions.cs,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** WeightedPositions.cs 28 Mar 2010 13:38:31 -0000 1.16 --- WeightedPositions.cs 28 Mar 2010 13:41:50 -0000 1.17 *************** *** 796,800 **** /// long positions become then short positions and viceversa /// </summary> ! public void ReverseSign() { foreach( WeightedPosition weightedPosition in this ) --- 796,800 ---- /// long positions become then short positions and viceversa /// </summary> ! public void ReverseSigns() { foreach( WeightedPosition weightedPosition in this ) |