fixed: quell compiler warning emitted if compiling without petsc
git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@1352 e10b68d5-8a6e-419e-a041-bce267b0401d
This commit is contained in:
parent
6206f0cea6
commit
ad5aee09e6
@ -149,11 +149,15 @@ bool LinSolParams::read (std::istream& is, int nparam)
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#ifdef HAS_PETSC
|
||||||
static bool IsOK(const TiXmlElement* child, const char* value)
|
static bool IsOK(const TiXmlElement* child, const char* value)
|
||||||
{
|
{
|
||||||
return !strcasecmp(child->Value(),value) &&
|
return !strcasecmp(child->Value(),value) &&
|
||||||
child->FirstChild() && child->FirstChild()->Value();
|
child->FirstChild() && child->FirstChild()->Value();
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
bool LinSolParams::read (const TiXmlElement* elem)
|
bool LinSolParams::read (const TiXmlElement* elem)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user