Skip to content
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

Compose Blackbox #161

Open
pascalgiorgi opened this issue Dec 12, 2018 · 1 comment
Open

Compose Blackbox #161

pascalgiorgi opened this issue Dec 12, 2018 · 1 comment

Comments

@pascalgiorgi
Copy link
Member

Working on #159, I found a weird thing about the Compose blackbox in blackbox/compose.h file.

There is a specialisation of Compose when the two composed blackboxes share the same type.
The only reason of such a specialisation is to handle the construction of a multi-composed blackbox that is build upon a bunch of blackboxes given in a vector. Of course, rhis makes the code more complex (e.g. blackboxes are kept through vector of pointers).

I have not found any instances of such a construction in LinBox.
Therefore, I doubt about the usefulness of this specialisation, which by the say makes the code less efficient for only two blackboxes
If no one object I will drop off this specialisation.

@ClementPernet
Copy link
Member

I could not find any usage of it. If your think there is no reason to keep it (e.g. it slows down a 2 args compose) then drop it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants