This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "BigInt.h"
|
||||
#include "NR.h"
|
||||
|
||||
/**
|
||||
* \class Matrix
|
||||
@@ -18,7 +18,7 @@
|
||||
*/
|
||||
class Matrix {
|
||||
public:
|
||||
typedef long double Element;
|
||||
typedef NR Element;
|
||||
typedef std::vector<Element>::iterator iterator;
|
||||
|
||||
private:
|
||||
@@ -151,7 +151,7 @@ class Matrix {
|
||||
|
||||
iterator begin();
|
||||
iterator end();
|
||||
|
||||
|
||||
iterator GetLineIterator(std::size_t a_Raw);
|
||||
};
|
||||
|
||||
@@ -171,6 +171,6 @@ inline bool IsEqualZero(const long& var) {
|
||||
}
|
||||
|
||||
template <>
|
||||
inline bool IsEqualZero(const BigInt& var) {
|
||||
return var.IsEqualZero();
|
||||
}
|
||||
inline bool IsEqualZero(const NR& var) {
|
||||
return var == 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user