Update of /cvsroot/quantproject/QuantProject/b7_Scripts/TechnicalAnalysisTesting/Oscillators/FixedLevelOscillators/PortfolioValueOscillator/Decoding
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv32621/b7_Scripts/TechnicalAnalysisTesting/Oscillators/FixedLevelOscillators/PortfolioValueOscillator/Decoding
Modified Files:
BasicDecoderForPVOPositions.cs
Log Message:
IntArrayManager.SubArray() method has been replaced by Array.Copy().
Index: BasicDecoderForPVOPositions.cs
===================================================================
RCS file: /cvsroot/quantproject/QuantProject/b7_Scripts/TechnicalAnalysisTesting/Oscillators/FixedLevelOscillators/PortfolioValueOscillator/Decoding/BasicDecoderForPVOPositions.cs,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** BasicDecoderForPVOPositions.cs 20 Apr 2008 16:37:09 -0000 1.3
--- BasicDecoderForPVOPositions.cs 18 May 2008 22:07:19 -0000 1.4
***************
*** 99,108 ****
protected override void setTickerRelatedGeneValues()
{
! this.tickerRelatedGeneValues =
! IntArrayManager.SubArray(this.encoded,
! this.numOfGenesDedicatedToThresholds,
! this.encoded.Length - this.numOfGenesDedicatedToThresholds);
}
-
}
}
--- 99,107 ----
protected override void setTickerRelatedGeneValues()
{
! this.tickerRelatedGeneValues = new int[this.encoded.Length - this.numOfGenesDedicatedToThresholds];
! Array.Copy(this.encoded , this.numOfGenesDedicatedToThresholds ,
! this.tickerRelatedGeneValues , 0,
! this.encoded.Length - this.numOfGenesDedicatedToThresholds);
}
}
}
|