Skip to content

Commit

Permalink
no template-id for cstor
Browse files Browse the repository at this point in the history
  • Loading branch information
jgdumas committed Dec 5, 2024
1 parent a4c332a commit c4090f5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion examples/Integer/primitiveroot.C
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ int main(int argc, char** argv)
IntNumTheoDom<>::Element a,pr;
if (argc > 1) a = IntNumTheoDom<>::Element(argv[1]); else std::cin >> a;

uint64_t runs;
uint64_t runs(0);
Timer tim; tim.clear();
if (IP.isprime(a)) {
Integer phin; IP.sub(phin,a,IP.one);
Expand Down
6 changes: 3 additions & 3 deletions src/library/vector/givvectordense.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,12 @@ namespace Givaro {
~VectorDom() {}

// -- Cstor of a new vector space of dimension s
VectorDom<Domain,Dense>() : _domain() {}
VectorDom() : _domain() {}

VectorDom<Domain,Dense>( const Domain& dom ) : _domain(dom) {}
VectorDom( const Domain& dom ) : _domain(dom) {}

// -- Cstor of recopy
VectorDom<Domain,Dense>( const Self_t& V ) : _domain(V._domain) {}
VectorDom( const Self_t& V ) : _domain(V._domain) {}

bool operator==( const VectorDom<Domain,Dense>& BC) const
{ return _domain == BC._domain;}
Expand Down

0 comments on commit c4090f5

Please # to comment.