Skip to content

Issubset gives error for this Hexahedron #1260

@raman-maker

Description

@raman-maker

In this code m ⊆ m2 should output either true or false. See this https://discourse.julialang.org/t/issubset-gives-error-for-this-hexahedron/133346

using Meshes

m = Hexahedron((0.1547376288700546, 0.05921552849426126, 1.7379087983473205), (0.17193069874450512, 0.05921552849426126, 1.7379087983473205), (0.17193069874450512, 0.06579503166029028, 1.7379087983473205), (0.1547376288700546, 0.06579503166029028, 1.7379087983473205),(0.1547376288700546, 0.05921552849426126, 1.754088044166565),(0.17193069874450512, 0.05921552849426126, 1.754088044166565), (0.17193069874450512, 0.06579503166029028, 1.754088044166565), (0.1547376288700546, 0.06579503166029028, 1.754088044166565))
m2 = Hexahedron((0.0, 0.0, 1.600000023841858), (0.0, 0.0, 1.754088044166565),(0.1719306987445051, 0.0, 1.7456416303231632),  (0.15682743121429854, 0.0, 1.5922955859741212), (0.0, 0.0, 1.600000023841858), (0.0, 0.0, 1.754088044166565), (0.15884325286141418, 0.06579503166029028, 1.7456416303231632), (0.1448896531793745, 0.06001526124941982, 1.5922955859741212))

m ⊆ m2

But it gives error.

ERROR: MethodError: no method matching ntuple(::Meshes.var"#apply##14#apply##15"{Meshes.Point{…}}, ::Quantity{Float64, 𝐋, Unitful.FreeUnits{…}})
The function ntuple exists, but no method is defined for this combination of argument types.

The problem arises in issubset.jl.

Metadata

Metadata

Assignees

No one assigned

    Labels

    invalidThis doesn't seem rightwontfixThis will not be worked on

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions