[Quantproject-developers] QuantProject/b1_ADT/Histories History.cs, 1.8, 1.9
Brought to you by:
glauco_1
|
From: Glauco S. <gla...@us...> - 2006-06-18 14:22:17
|
Update of /cvsroot/quantproject/QuantProject/b1_ADT/Histories In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv20289/b1_ADT/Histories Modified Files: History.cs Log Message: A couple of ambiguous Math.Floor arguments have been converted to double (framework 1.x accepted such ambiguity, but framework 2.x doesn't) Index: History.cs =================================================================== RCS file: /cvsroot/quantproject/QuantProject/b1_ADT/Histories/History.cs,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** History.cs 17 Apr 2005 02:08:09 -0000 1.8 --- History.cs 18 Jun 2006 14:22:14 -0000 1.9 *************** *** 204,209 **** { ! if (Math.Floor(currentHistoryIndex/onEachPeriodOf) == periodIndex && ! cursorThroughDataArray < onEachPeriodOf) //currentHistoryIndex belongs to the current period { --- 204,210 ---- { ! if ( Math.Floor( Convert.ToDouble( ! currentHistoryIndex / onEachPeriodOf ) ) == periodIndex && ! cursorThroughDataArray < onEachPeriodOf ) //currentHistoryIndex belongs to the current period { *************** *** 234,238 **** } } ! periodIndex = Math.Floor(currentHistoryIndex/onEachPeriodOf); } --- 235,240 ---- } } ! periodIndex = Math.Floor( Convert.ToDouble( ! currentHistoryIndex/onEachPeriodOf ) ); } |