Skip to content

Commit 367fa57

Browse files
committed
fix vmapField
1 parent f773cae commit 367fa57

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/mir/ndslice/field.d

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ struct MapField(Field, alias _fun)
132132
/++
133133
`VmapField` is used by $(SUBREF topology, map).
134134
+/
135-
struct VmapField(Field)
135+
struct VmapField(Field, Fun)
136136
{
137137
@optmath:
138138
///
@@ -224,7 +224,7 @@ auto _vmapField(Field, Fun)(Field field, Fun fun)
224224
static if (__traits(hasMember, Field, "__vmap"))
225225
return Field.__vmap(field, fun);
226226
else
227-
return VmapField!Field(field, fun);
227+
return VmapField!(Field, Fun)(field, fun);
228228
}
229229

230230
/++

0 commit comments

Comments
 (0)