-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Extend templation in GenVector to better support vectorised Vc types. #394
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
Changes from 1 commit
76a8f9d
7e9c2b7
b15d62a
2b2fc17
2e74f0d
c3175c6
9bdfb8e
c97245c
f12d368
bbbbbd0
9a0ee77
371d50d
dcb0b30
29e7e30
14e73b4
27bbb57
196a00b
0ad5828
1928c75
5ccdaea
ef1aea9
6cac16a
68ba28a
939b7cb
d9b810b
776ce1a
fbe74d2
12b43b0
8367bdf
0f404ba
65a701d
4ba8a1b
ff94a5a
b8ca822
b32cb6a
febe783
a628a2a
89b2d26
6bf0368
bd96bd0
dea8d05
a18221a
eb0b8ed
7da1945
a271eab
decbe11
58c6315
17f42a3
434396d
b145899
ad8d3a5
b018a03
bb1e386
1786383
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
- Loading branch information
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -192,7 +192,8 @@ public : | |
| explicit Cartesian3D( const Polar3D<T2> & v ) : fZ (v.Z()) | ||
| { | ||
| using namespace std; | ||
| const T rho = v.Rho(); // re-using this instead of calling v.X() and v.Y() | ||
| const T rho = v.Rho(); | ||
| // re-using this instead of calling v.X() and v.Y() | ||
| // is the speed improvement | ||
| fX = rho * cos(v.Phi()); | ||
|
||
| fY = rho * sin(v.Phi()); | ||
|
|
||
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.
Could you not break the comments here? Maybe add it as a single comment a line before?