[Quantproject-developers] QuantProject/b7_Scripts/TickerSelectionTesting GenomeManagerForEfficientPo
Brought to you by:
glauco_1
|
From: Glauco S. <gla...@us...> - 2005-08-10 16:48:06
|
Update of /cvsroot/quantproject/QuantProject/b7_Scripts/TickerSelectionTesting In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27234/b7_Scripts/TickerSelectionTesting Modified Files: GenomeManagerForEfficientPortfolio.cs Log Message: Now, an exception is thrown if setOfInitialTickers is empty. Index: GenomeManagerForEfficientPortfolio.cs =================================================================== RCS file: /cvsroot/quantproject/QuantProject/b7_Scripts/TickerSelectionTesting/GenomeManagerForEfficientPortfolio.cs,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** GenomeManagerForEfficientPortfolio.cs 8 Aug 2005 19:15:40 -0000 1.17 --- GenomeManagerForEfficientPortfolio.cs 10 Aug 2005 16:47:59 -0000 1.18 *************** *** 118,121 **** --- 118,123 ---- { this.setOfTickers = setOfInitialTickers; + if ( setOfInitialTickers.Rows.Count == 0 ) + throw new Exception( "setOfInitialTickers cannot be empty!" ); this.originalNumOfTickers = setOfInitialTickers.Rows.Count; this.firstQuoteDate = firstQuoteDate; |