Update checkpoints.cpp

Fix syntax error
Merge pull request #1 from sakkaba/patch-1

Update checkpoints.cpp