|
From: <mor...@us...> - 2011-01-05 12:20:19
|
Revision: 3885
http://ecell.svn.sourceforge.net/ecell/?rev=3885&view=rev
Author: moriyoshi
Date: 2011-01-05 12:20:12 +0000 (Wed, 05 Jan 2011)
Log Message:
-----------
* Fix argument signatures so they match to what the property slot expects.
Modified Paths:
--------------
ecell3/trunk/ecell/libecs/Process.cpp
ecell3/trunk/ecell/libecs/Process.hpp
Modified: ecell3/trunk/ecell/libecs/Process.cpp
===================================================================
--- ecell3/trunk/ecell/libecs/Process.cpp 2011-01-04 13:21:23 UTC (rev 3884)
+++ ecell3/trunk/ecell/libecs/Process.cpp 2011-01-05 12:20:12 UTC (rev 3885)
@@ -604,7 +604,7 @@
aVarRef.getVariable()->addValue( aVarRef.getCoefficient() * value );
}
-void Process::addValue( Real aValue )
+void Process::addValue( libecs::Param<Real>::type aValue )
{
setActivity( aValue );
Modified: ecell3/trunk/ecell/libecs/Process.hpp
===================================================================
--- ecell3/trunk/ecell/libecs/Process.hpp 2011-01-04 13:21:23 UTC (rev 3884)
+++ ecell3/trunk/ecell/libecs/Process.hpp 2011-01-05 12:20:12 UTC (rev 3885)
@@ -384,7 +384,7 @@
@param aValue aReal value to be added.
*/
- void addValue( Real aValue );
+ void addValue( libecs::Param<Real>::type aValue );
/**
@@ -396,7 +396,7 @@
@param aVelocity a base velocity to be added.
*/
- void setFlux( Real aVelocity )
+ void setFlux( libecs::Param<Real>::type aVelocity )
{
setActivity( aVelocity );
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|