clawpack / riemann_book

An interactive book about the Riemann problem for hyperbolic PDEs, using Jupyter notebooks.
BSD 3-Clause "New" or "Revised" License
266 stars 96 forks source link

Use == for comparison with string literals. #243

Closed ketch closed 2 years ago

ketch commented 2 years ago

In recent versions of Python, using "is" to compare with a string literal generates a warning. This patch avoids those warnings but does not change the behavior of the code.