Fix tripwire compile errors per this discussion: https://sourceforge.net/p/tripwire/bugs/54/
This commit is contained in:
parent
dddc0fa5d2
commit
4ce0a2b5c3
|
@ -273,7 +273,7 @@ template <class T> T AbstractEuclideanDomain<T>::Gcd(const Element &a, const Ele
|
||||||
Element g[3]={b, a};
|
Element g[3]={b, a};
|
||||||
unsigned int i0=0, i1=1, i2=2;
|
unsigned int i0=0, i1=1, i2=2;
|
||||||
|
|
||||||
while (!Equal(g[i1], this->Zero()))
|
while (!this->Equal(g[i1], this->Zero()))
|
||||||
{
|
{
|
||||||
g[i2] = Mod(g[i0], g[i1]);
|
g[i2] = Mod(g[i0], g[i1]);
|
||||||
unsigned int t = i0; i0 = i1; i1 = i2; i2 = t;
|
unsigned int t = i0; i0 = i1; i1 = i2; i2 = t;
|
||||||
|
|
|
@ -33,6 +33,7 @@
|
||||||
// twadmincl.cpp -- command line parsing for twadmin
|
// twadmincl.cpp -- command line parsing for twadmin
|
||||||
//
|
//
|
||||||
|
|
||||||
|
#include <unistd.h>
|
||||||
#include "stdtwadmin.h"
|
#include "stdtwadmin.h"
|
||||||
|
|
||||||
#include "twadmincl.h"
|
#include "twadmincl.h"
|
||||||
|
|
Loading…
Reference in New Issue