does it work if ```!kernel.isContinuous()```?