Commit 8b1944d3 by JonTriebenbach Committed by GitHub

Remove idioms in code comments (#3809)

parent a7e7a6e8
...@@ -667,7 +667,7 @@ jobs: ...@@ -667,7 +667,7 @@ jobs:
# This verifies that the documentation is not horribly broken, and does a # This verifies that the documentation is not horribly broken, and does a
# basic sanity check on the SDist. # basic validation check on the SDist.
doxygen: doxygen:
name: "Documentation build test" name: "Documentation build test"
runs-on: ubuntu-latest runs-on: ubuntu-latest
......
...@@ -87,7 +87,7 @@ buffer objects (e.g. a NumPy matrix). ...@@ -87,7 +87,7 @@ buffer objects (e.g. a NumPy matrix).
/* Request a buffer descriptor from Python */ /* Request a buffer descriptor from Python */
py::buffer_info info = b.request(); py::buffer_info info = b.request();
/* Some sanity checks ... */ /* Some basic validation checks ... */
if (info.format != py::format_descriptor<Scalar>::format()) if (info.format != py::format_descriptor<Scalar>::format())
throw std::runtime_error("Incompatible format: expected a double array!"); throw std::runtime_error("Incompatible format: expected a double array!");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment