HaibingShao/ogs — pull request #8 by endJunction (2012-11-15 15:19:29+00:00)
Title: Changes for successfull linux compilation

I have corrected some simple errors but one for gcc-4.7.2 linux compilation.

One commit I did not include, because I don't understand the data type required at this place. It would be:

```diff
diff --git a/ogsNumerics/NumLib/Function/TXFunctionDirect.h b/ogsNumerics/NumLib/Function/TXFunctionDirect.h
index 5f6d5eb..1aad16d 100644
--- a/ogsNumerics/NumLib/Function/TXFunctionDirect.h
+++ b/ogsNumerics/NumLib/Function/TXFunctionDirect.h
@@ -24,7 +24,6 @@ class TXFunctionDirect : public ITXDiscreteFunction
{
public:
typedef DiscreteLib::IDiscreteVector MyVector;
- typedef MathLib::LocalMatrix DataType; // ND not sure here!!!

explicit TXFunctionDirect(const MyVector* direct_data)
: _direct_data(direct_data)
```

Please correct this `DataType` if neccesary.

May be you could forward these changes into Nori's branch too.