Skip to content

Commit

Permalink
fix double evaluation
Browse files Browse the repository at this point in the history
  • Loading branch information
uecker committed Jul 29, 2024
1 parent 27cdb09 commit c96bf14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vec.h
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
(*({ \
auto __x = (x); \
_Static_assert(same_type_unq_p(T, vec_eltype(__x)), ""); \
(vec_eltype(__x)(*)[vec_length(__x)])((x)->data); \
(vec_eltype(__x)(*)[vec_length(__x)])((__x)->data); \
}))
#else
// work around a compiler bug
Expand Down

0 comments on commit c96bf14

Please sign in to comment.