Skip to content

core/utils.d(72,23): Error: cannot implicitly convert expression iota([shape[0]]) #124

@timotheecour

Description

@timotheecour

other errors using dmd from git master:

/Users/timothee/git_clone/D/dcv/source/dcv/core/utils.d(72,23): Error: cannot implicitly convert expression iota([shape[0]]) of type Slice!(cast(SliceKind)2, [1LU], IotaIterator!long) to Slice!(cast(SliceKind)2, [1LU], IotaIterator!ulong)
/Users/timothee/git_clone/D/dcv/source/dcv/core/utils.d(73,23): Error: cannot implicitly convert expression iota([shape[0]]) of type Slice!(cast(SliceKind)2, [1LU], IotaIterator!long) to Slice!(cast(SliceKind)2, [1LU], IotaIterator!ulong)
/Users/timothee/git_clone/D/dcv/source/dcv/core/utils.d(74,23): Error: cannot implicitly convert expression iota([kh]) of type Slice!(cast(SliceKind)2, [1LU], IotaIterator!long) to Slice!(cast(SliceKind)2, [1LU], IotaIterator!ulong)
/Users/timothee/git_clone/D/dcv/source/dcv/core/utils.d(75,50): Error: cannot implicitly convert expression iota([shape[1]]) of type Slice!(cast(SliceKind)2, [1LU], IotaIterator!long) to Slice!(cast(SliceKind)2, [1LU], IotaIterator!ulong)
/Users/timothee/git_clone/D/dcv/source/dcv/imgproc/filter.d(786,55): Error: template instance `dcv.core.utils.borders!(ulong[2])` error instantiating
/Users/timothee/git_clone/D/dcv/source/dcv/imgproc/filter.d(738,25):        instantiated from here: bilateralFilter2!(uint, neumann, cast(SliceKind)2, cast(SliceKind)2, uint*)
/Users/timothee/git_clone/D/dcv/source/dcv/multiview/stereo/matching.d(453,47):        instantiated from here: bilateralFilter!(uint, neumann, cast(SliceKind)2, [2LU], uint*)
/Users/timothee/temp/dubroot/dmd.2_078_2-699-g6a2db254e-dirty/.dub/packages/mir-algorithm-0.8.0-alpha7/mir-algorithm/source/mir/ndslice/algorithm.d(470,9): Error: alias `dcv.imgproc.filter.gaussian!float.gaussian.each!((ref v) => v = exp(-v / sgm)).each` recursive alias declaration
/Users/timothee/git_clone/D/dcv/source/dcv/imgproc/filter.d(164,26): Error: template instance `dcv.imgproc.filter.gaussian!float.gaussian.each!((ref v) => v = exp(-v / sgm))` error instantiating
/Users/timothee/git_clone/D/dcv/source/dcv/tracking/opticalflow/hornschunck.d(128,22):        instantiated from here: gaussian!float

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions