Skip to content

Commit 56bdb3a

Browse files
committed
EAMxx: md linter fixes
1 parent a46dc7f commit 56bdb3a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

components/eamxx/docs/user/eamxx2py.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ the module. For instance, if the module had a function `run` that takes 2 arrays
4848
```c++
4949
pymod.attr("run")(f1,f2,my_double);
5050
```
51+
5152
where `f1` and `f2` are of type `pybind11::array` (e.g., casted from objects in `m_py_fields_host`).
5253

5354
## Example
@@ -98,6 +99,7 @@ to support both C++ and python implemenation in the same cpp file
9899
qi_v,liq_cld_frac_v,ice_cld_frac_v,tot_cld_frac_v,ice_cld_frac_4out_v,tot_cld_frac_4out_v);
99100
}
100101
```
102+
101103
A few observations:
102104
103105
- `m_py_module.has_value()` is a good way to check if the `std::any` object is storing anything or it's empty.

0 commit comments

Comments
 (0)