Internal wrapper around the native C routine fillGap. It fills
zero-valued gaps in a paternal-strand vector by propagating values from
neighbouring non-zero positions (see native implementation for exact rules).
.fillGap(paternalStrandBMH)An integer vector of the same length as paternalStrandBMH
containing the gap-filled strand values.
An integer (or numeric) vector representing the paternal strand state (e.g., output from block-building routines). The vector is coerced to integer before calling native code.
mhf
This function calls compiled code via .C:
.C("fillGap", ...).