Skip to content

Commit

Permalink
Add wp.bool to value_types
Browse files Browse the repository at this point in the history
  • Loading branch information
nvlukasz committed Feb 14, 2025
1 parent a9f9d7d commit 26bdfe6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion warp/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -1384,7 +1384,7 @@ def type_is_transformation(t):
return getattr(t, "_wp_generic_type_hint_", None) is Transformation


value_types = (int, float, builtins.bool) + scalar_types
value_types = (int, float, builtins.bool) + scalar_and_bool_types


# returns true for all value types (int, float, bool, scalars, vectors, matrices)
Expand Down

0 comments on commit 26bdfe6

Please sign in to comment.