Added class wide default double value

This commit is contained in:
Joakim Hove 2013-08-01 09:31:06 +02:00
parent ab3fb002d6
commit 797125463c
2 changed files with 5 additions and 1 deletions

View File

@ -64,6 +64,10 @@ namespace Opm {
return 0;
}
double ParserItem::defaultDouble() {
return 0.0;
}
std::string ParserItem::defaultString() {
return "DEFAULT";
}

View File

@ -48,7 +48,7 @@ namespace Opm {
static int defaultInt();
static std::string defaultString();
static double defaultDouble();
virtual ~ParserItem() {
}