|
From: <mor...@us...> - 2008-11-10 20:13:04
|
Revision: 3287
http://ecell.svn.sourceforge.net/ecell/?rev=3287&view=rev
Author: moriyoshi
Date: 2008-11-10 20:13:01 +0000 (Mon, 10 Nov 2008)
Log Message:
-----------
* Zero means unlimited.
Modified Paths:
--------------
ecell3/branches/ecell-3.1/ecell/libecs/Logger.hpp
Modified: ecell3/branches/ecell-3.1/ecell/libecs/Logger.hpp
===================================================================
--- ecell3/branches/ecell-3.1/ecell/libecs/Logger.hpp 2008-11-10 19:26:57 UTC (rev 3286)
+++ ecell3/branches/ecell-3.1/ecell/libecs/Logger.hpp 2008-11-10 20:13:01 UTC (rev 3287)
@@ -82,7 +82,7 @@
THROW_EXCEPTION( ValueError,
"Negative value not allowed for minimum step");
}
- if ( aMaxSpace <= 0 )
+ if ( aMaxSpace < 0 )
{
THROW_EXCEPTION( ValueError,
"Invalid value for max space" );
@@ -136,7 +136,7 @@
void setMaxSpace( IntegerParam aMaxSpace )
{
- if ( aMaxSpace <= 0 )
+ if ( aMaxSpace < 0 )
{
THROW_EXCEPTION( ValueError,
"Invalid value for max space" );
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|