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

RestrictedTemplateIntersection[t1,t1] results in {} instead of t1 #51

Closed
mverardo opened this issue May 27, 2016 · 1 comment
Closed
Labels

Comments

@mverardo
Copy link
Owner

In := t1 = BuildTemplate[3, 1.0, {2, x1 \[Element] {0, 2}, 0}, RestrictedExpansion];
In := t2 = BuildTemplate[3, 1.0, {2, x1, 0}, RestrictedExpansion];
In := TemplateIntersection[t1, t2] 
Out = <|"k" -> 3, "r" -> 1., "rawList" -> {}, "expansionFunction" -> RestrictedExpansion|>

Out should be

<|"k" -> 3, "r" -> 1., "rawList" -> {2, x1 \[Element] {0, 2}, 0}, "expansionFunction" -> RestrictedExpansion|>
@mverardo mverardo added the bug label May 27, 2016
mverardo added a commit that referenced this issue May 27, 2016
@mverardo mverardo mentioned this issue May 27, 2016
mverardo added a commit that referenced this issue May 27, 2016
mverardo added a commit that referenced this issue May 27, 2016
@mverardo
Copy link
Owner Author

Fixed on #52

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

No branches or pull requests

1 participant