removed warnings in diffNaive.h