Revert "Fix issues in LatticeModel.tmpl.h" (commit by mistake)

This reverts commit 46f49143.
1 job for release/0.2.7 in 48 seconds (queued for 4 seconds)
latest