Skip to content

Commit 459310f

Browse files
authored
Indicate MixHash -> Bag(Hash) coersion loses negative weights
1 parent 015c9b9 commit 459310f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/Type/MixHash.pod6

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ Defined as:
8888
8989
Coerces the C<MixHash> to a L«C<Bag>|/type/Bag». The weights are convert to L«C<Int>|/type/Int»,
9090
which means the number of keys in the resulting C<Bag> can be fewer than in the
91-
original C<MixHash>, if any of the weights truncate to zero.
91+
original C<MixHash>, if any of the weights are negative or truncate to zero.
9292
9393
=head2 method BagHash
9494
@@ -98,7 +98,7 @@ Defined as:
9898
9999
Coerces the C<MixHash> to a L«C<BagHash>|/type/BagHash». The weights are convert to L«C<Int>|/type/Int»,
100100
which means the number of keys in the resulting C<BagHash> can be fewer than in the
101-
original C<MixHash>, if any of the weights truncate to zero.
101+
original C<MixHash>, if any of the weights are negative or truncate to zero.
102102
103103
=head1 See Also
104104

0 commit comments

Comments
 (0)