AlgebraicJulia / AlgebraicJulia/CombinatorialSpaces.jl

`sign` of simplices blocking type inference

未关闭
#83 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
enhancement
主要语言
Julia
星标
46
派生
6
PR 合并指标
30 天内没有已合并 PR

描述

> Tracing back through the function calls, the `sign` function, which returns a vector of positive and negative ones corresponding to the sign of a simplex, is returning `::Any`.

This is because the type of the orientation is encoded as a type parameter to `EmbeddedDeltaDualComplex2D`.

One way to work around this is to hard-code `Bool` a la https://github.com/AlgebraicJulia/CombinatorialSpaces.jl/blob/ab1ea66268c631b3964f023dd2d4d41fdbdfd9ed/src/DiscreteExteriorCalculus.jl#L1101

_Originally posted by @lukem12345 in https://github.com/AlgebraicJulia/CombinatorialSpaces.jl/issues/78#issuecomment-2113037349_

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。