diff --git a/adix/bist.nim b/adix/bist.nim index 9f48567..d548233 100644 --- a/adix/bist.nim +++ b/adix/bist.nim @@ -130,7 +130,7 @@ proc quantile*[T](t: Bist[T], q: float): float {.inline.} = fL * iL.float + (1 - fL) * iH.float when isMainModule: - import cligen, strutils + import cligen, std/strutils when not declared(addFloat): import std/formatfloat type ct = uint16 proc tbist(verb=false, parzen=false, thresh=0.03, num=16, args: seq[int]):int= diff --git a/adix/cpuCT.nim b/adix/cpuCT.nim index de1adb2..b438f70 100644 --- a/adix/cpuCT.nim +++ b/adix/cpuCT.nim @@ -3,7 +3,7 @@ ## lets us probe a build-time system for all pre-defined C preprocessor macros ## in one execution. We then postprocess these into a set of flags for Nim ## compile-time `when` checks to make "fall back" easy/natural. -from strutils import contains +from std/strutils import contains const ccDumpMacro {.used.} = " -dM -E -x c -