- if (probe_kpk(wksq, wpsq, bksq, stm))
- return SCALE_FACTOR_NONE;
- else
- return ScaleFactor(0);
-}
-
-
-/// init_bitbases() is called during program initialization, and simply loads
-/// bitbases from disk into memory. At the moment, there is only the bitbase
-/// for KP vs K, but we may decide to add other bitbases later.
-
-void init_bitbases() {
- generate_kpk_bitbase(KPKBitbase);
+ return probe_kpk(wksq, wpsq, bksq, stm) ? SCALE_FACTOR_NONE : SCALE_FACTOR_ZERO;