AlgebraicJulia / AlgebraicJulia/AlgebraicPetri.jl

Indexing over tuples of symbols

Đang mở
#182 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Julia
Star
94
Fork
22
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

In the `vectorfield` function

https://github.com/AlgebraicJulia/AlgebraicPetri.jl/blob/e76f7cb476ea57e7bd6cf0ce0131a1e6fa8d3f51/src/AlgebraicPetri.jl#L283-L307

it is assumed that the state and parameter arrays `u`, `p` etc can be indexed by the species name. This is fine when the species name is a symbol, but its also possible to have species names that are tuples of symbols e.g. from using `typed_product`.

Is there a recommended way to define arrays that can be indexed by Tuples of symbols?

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.