-
Notifications
You must be signed in to change notification settings - Fork 13
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
question about the code #1
Comments
Those are errors from the IDE, not from the compiler. So please try to compile it first. |
Currently I try to compile without SparseSuite on Windows. |
right, I never tried it with MSVC.. Have to use padd, psub, etc.
…On Fri, Mar 22, 2019 at 11:04 PM chkone ***@***.***> wrote:
Currently I try to compile without SparseSuite on Windows.
I have the same error as a compiler error:
otsolver_2dgrid.cpp(389): error C2676: binary '+': 'Packet' does not
define this operator or a conversion to a type acceptable to the predefined
operator
otsolver_2dgrid.cpp(500): error C2676: binary '-': '__m128d' does not
define this operator or a conversion to a type acceptable to the predefined
operator
I look on packet_traits::type
Whih is typedef typedef __m128d Packet2d;
For me, and __m128d don't have operators like +, -, ...
Which explain those errors.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAMLhSrx0OpQ4tqh5s7JbXTI6_YAgBaqks5vZVNigaJpZM4Xxt_F>
.
|
Hi, I can not run the code, there are some errors like " no operator "-" matches these operands ", just in:
![qq20181020114320](https://user-images.githubusercontent.com/12591007/47251233-3244fc00-d464-11e8-8ac7-a7ddc65df46f.png)
Packet diag0a_x = g0.packet(v11,0) - g0.packet(v00,0) + pe;
Packet diag0a_y = g0.packet(v11,1) - g0.packet(v00,1) + pe;
Packet diag0b_x = g0.packet(v01,0) - g0.packet(v10,0) - pe;
Packet diag0b_y = g0.packet(v01,1) - g0.packet(v10,1) + pe;
Packet dda_x = gd.packet(v11,0) - gd.packet(v00,0);
Packet dda_y = gd.packet(v11,1) - gd.packet(v00,1);
Packet ddb_x = gd.packet(v01,0) - gd.packet(v10,0);
Packet ddb_y = gd.packet(v01,1) - gd.packet(v10,1);
more details are in the figure.
I think the vision of my Eigen and SUITESPARSE do not match, so which vision of Eigen and SUITESPARSE do you employ respectively?
The text was updated successfully, but these errors were encountered: