Revision: 315
http://rmol.svn.sourceforge.net/rmol/?rev=315&view=rev
Author: denis_arnaud
Date: 2010-07-28 19:56:08 +0000 (Wed, 28 Jul 2010)
Log Message:
-----------
[Branch] Fixed a compilation error (with g++ 4.5).
Modified Paths:
--------------
branches/rmol/0.23.0/main/rmol/command/Optimiser.cpp
branches/rmol/0.23.0/main/rmol/service/RMOL_ServiceContext.cpp
Modified: branches/rmol/0.23.0/main/rmol/command/Optimiser.cpp
===================================================================
--- branches/rmol/0.23.0/main/rmol/command/Optimiser.cpp 2010-07-28 19:53:59 UTC (rev 314)
+++ branches/rmol/0.23.0/main/rmol/command/Optimiser.cpp 2010-07-28 19:56:08 UTC (rev 315)
@@ -185,9 +185,8 @@
BucketHolder& ioBucketHolder) {
// Create the aggregated class/bucket.
- FldYieldRange aYieldRange = FldYieldRange::FldYieldRange (0);
- FldDistributionParameters aDistribParams =
- FldDistributionParameters::FldDistributionParameters (0,0);
+ FldYieldRange aYieldRange = FldYieldRange (0);
+ FldDistributionParameters aDistribParams = FldDistributionParameters(0,0);
Demand& aDemand =
FacDemand::instance().create (aDistribParams, aYieldRange);
Bucket& aBucket = FacBucket::instance().create (aYieldRange, aDemand);
Modified: branches/rmol/0.23.0/main/rmol/service/RMOL_ServiceContext.cpp
===================================================================
--- branches/rmol/0.23.0/main/rmol/service/RMOL_ServiceContext.cpp 2010-07-28 19:53:59 UTC (rev 314)
+++ branches/rmol/0.23.0/main/rmol/service/RMOL_ServiceContext.cpp 2010-07-28 19:56:08 UTC (rev 315)
@@ -113,7 +113,7 @@
GeneratedDemandVector_T& lDemandVector = *itLastVector;
lDemandVector.reserve (K);
const FldDistributionParameters aDistributionParam =
- FldDistributionParameters::FldDistributionParameters (iMean, iDeviation);
+ FldDistributionParameters (iMean, iDeviation);
const Gaussian gaussianDemandGenerator (aDistributionParam);
// Generate K numbers
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|