mirror of
https://github.com/dlang/phobos.git
synced 2025-05-07 11:37:24 +03:00
added raw specifier for reading
This commit is contained in:
parent
9ae66bb416
commit
ccfe097389
1 changed files with 1 additions and 1 deletions
|
@ -1066,7 +1066,7 @@ result is greater than or equal to $(D max).
|
|||
*/
|
||||
ElementType!Range entropy(Range)(Range r) if (isInputRange!Range)
|
||||
{
|
||||
typeof(return) result = 0.0;
|
||||
Unqual!(typeof(return)) result = 0.0;
|
||||
foreach (e; r)
|
||||
{
|
||||
if (!e) continue;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue