Fixed pattern matching warning in lcmm method