Changeset d6c852 in git for factory/cf_random.cc
- Timestamp:
- Jul 6, 2020, 10:46:08 AM (3 years ago)
- Branches:
- (u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
- Children:
- 2ca80a7735f57cf908060cfb800bfa302c2afc8f
- Parents:
- 9e20b9f7749f3bf1b809cdfca51f8fdbbc25e754f8d27e1651a82b4063c80d3de252b7aee270308f
- git-author:
- Hans Schoenemann <hannes@mathematik.uni-kl.de>2020-07-06 10:46:08+02:00
- git-committer:
- GitHub <noreply@github.com>2020-07-06 10:46:08+02:00
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
factory/cf_random.cc
r9e20b9f rd6c852 14 14 #include "gfops.h" 15 15 #include "imm.h" 16 17 #ifdef HAVE_FLINT 18 extern "C" 19 { 20 #ifndef __GMP_BITS_PER_MP_LIMB 21 #define __GMP_BITS_PER_MP_LIMB GMP_LIMB_BITS 22 #endif 23 #include <flint/flint.h> 24 25 GLOBAL_VAR flint_rand_t FLINTrandom; 26 } 27 #endif 16 28 17 29 class RandomGenerator { … … 174 186 } 175 187 188 176 189 void factoryseed ( int s ) 177 190 { 178 191 ranGen.seed( s ); 192 193 #ifdef HAVE_FLINT 194 flint_randinit(FLINTrandom); 195 #endif 179 196 }
Note: See TracChangeset
for help on using the changeset viewer.