Skip to content

Commit

Permalink
ckp: Add a temporary redirection message for previous checkpointing i…
Browse files Browse the repository at this point in the history
…mport
  • Loading branch information
navjotk committed Oct 12, 2021
1 parent e32da1f commit 6fa82e3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions examples/checkpointing/checkpoint.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
from devito import warning

warning("""The location of Devito's checkpointing has changed. This location will be
deprecated soon. Please change your imports to 'from devito import
DevitoCheckpoint, CheckpointOperato'""")

from devito.checkpointing import * # noqa

0 comments on commit 6fa82e3

Please sign in to comment.