AlgebraicJulia / Catlab.jl

A framework for applied category theory in the Julia language
https://www.algebraicjulia.org
MIT License
614 stars 58 forks source link

Unbreak `makemap` from `attrMigr` branch #854

Closed KevinDCarlson closed 1 year ago

KevinDCarlson commented 1 year ago

I made make_map force the output to a specific type while writing attrMigr, a functionality which can cause all kinds of problems and was only actually being used in one quite narrow case. This PR resets it to the original functionality of only forcing the type for empty outputs.