Skip to content

Commit

Permalink
Add missing dependency [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
tbeu committed Oct 19, 2024
1 parent 4b04756 commit ca4750b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,13 @@ repos:
rev: v0.6.13
hooks:
- id: cmake-format
additional_dependencies: [pyyaml>=5.1]
args:
- --line-width=120
- --tab-size=4
exclude: cmake/conan.cmake
- id: cmake-lint
additional_dependencies: [pyyaml>=5.1]
args:
- --line-width=120
- --tab-size=4
Expand Down
4 changes: 2 additions & 2 deletions src/mat5.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@

/** Get type from tag */
#define TYPE_FROM_TAG(a) \
(((a)&0x000000ff) <= MAT_T_FUNCTION) ? (enum matio_types)((a)&0x000000ff) : MAT_T_UNKNOWN
(((a) & 0x000000ff) <= MAT_T_FUNCTION) ? (enum matio_types)((a) & 0x000000ff) : MAT_T_UNKNOWN
/** Get class from array flag */
#define CLASS_FROM_ARRAY_FLAGS(a) \
(((a)&0x000000ff) <= MAT_C_OPAQUE) ? ((enum matio_classes)((a)&0x000000ff)) : MAT_C_EMPTY
(((a) & 0x000000ff) <= MAT_C_OPAQUE) ? ((enum matio_classes)((a) & 0x000000ff)) : MAT_C_EMPTY
/** Class type mask */
#define CLASS_TYPE_MASK 0x000000ff

Expand Down

0 comments on commit ca4750b

Please sign in to comment.