Skip to content

Commit

Permalink
fix vmapField
Browse files Browse the repository at this point in the history
  • Loading branch information
9il committed Aug 30, 2018
1 parent f773cae commit 367fa57
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/mir/ndslice/field.d
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ struct MapField(Field, alias _fun)
/++
`VmapField` is used by $(SUBREF topology, map).
+/
struct VmapField(Field)
struct VmapField(Field, Fun)
{
@optmath:
///
Expand Down Expand Up @@ -224,7 +224,7 @@ auto _vmapField(Field, Fun)(Field field, Fun fun)
static if (__traits(hasMember, Field, "__vmap"))
return Field.__vmap(field, fun);
else
return VmapField!Field(field, fun);
return VmapField!(Field, Fun)(field, fun);
}

/++
Expand Down

0 comments on commit 367fa57

Please sign in to comment.