-
Notifications
You must be signed in to change notification settings - Fork 132
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Resolve unbound type parameters #4363
base: master
Are you sure you want to change the base?
Conversation
This also removes some of the ambiguities for direct_product, direct_sum, tensor_product with empty argument list. Re-enable Aqua test for unbound type parameters.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing docstring for
direct_sum(M::ModuleFP{T}...; task::Symbol = :sum) where T
. Check Documenter's build log for details.' in@docs
block in src/CommutativeAlgebra/ModulesOverMultivariateRings/module_operations.md:29-31
I think you need to update the docstring signature at this place as well
function direct_product(M::ModuleFP{T}, Ms::ModuleFP{T}...; task::Symbol = :prod) where T | ||
return direct_product([M, Ms...]; task) | ||
end | ||
function direct_product(M::Vector{<:ModuleFP{T}}; task::Symbol = :prod) where T | ||
F, pro, mF = direct_product([ambient_free_module(x) for x = M]..., task = :both) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
F, pro, mF = direct_product([ambient_free_module(x) for x = M]..., task = :both) | |
F, pro, mF = direct_product([ambient_free_module(x) for x = M], task = :both) |
Better to not splat here, but use the new method taking a vector
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wasn't sure if this is indeed now available in all possible cases that could occur here.
Co-authored-by: Lars Göttgens <[email protected]>
This also removes some of the ambiguities for direct_product,
direct_sum, tensor_product with empty argument list.
Re-enable Aqua test for unbound type parameters.