Skip to content

Commit

Permalink
Correcting wild character
Browse files Browse the repository at this point in the history
  • Loading branch information
gvegayon committed Sep 26, 2023
1 parent d156753 commit cca9dbb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ obj = m.new_defm(id, y, x, column_major = False)
obj
```

<pydefm._core.DEFM at 0x7f250873d030>
<pydefm._core.DEFM at 0x7f32441dff30>

Adding terms via formula

Expand Down
2 changes: 1 addition & 1 deletion include/barry/models/defm/counters.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,7 @@ inline void counter_transition(
#ifdef BARRY_WITH_LATEX
name += ") -> (";
#else
name += "} \u21E8 {";
name += std::string("}") + u8"\u21E8" + std::string("{");
#endif
else
#ifdef BARRY_WITH_LATEX
Expand Down
4 changes: 2 additions & 2 deletions src/defm-common.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ inline void check_covar(
* @param type_ The type of the array
*/
#define DEFM_WRAP_NUMPY(var_res, var_ptr, nrows, ncols, type_) \
py::array_t< type_ > (var_res)({nrows, ncols}); \
auto res_buff = (var_res).request(); \
py::array_t< type_ > var_res ({nrows, ncols}); \
auto res_buff = var_res .request(); \
type_ * var_ptr = static_cast< type_ * >(res_buff.ptr);


Expand Down

0 comments on commit cca9dbb

Please sign in to comment.