You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was getting the error error: no matching function for call to ‘parallel_for(int, unsigned int&, juliaFrameRender_ParallelInner(unsigned int, unsigned int, complex_t, unsigned int, unsigned in t*)::<lambda(unsigned int)>)’ when trying to add the first parallel loop from 0 to width.
The issue seems to be that the value 0 isn't an unsigned integer, but a normal integer, so I had to static cast it to 0 IE static_cast<unsigned>(0)
Is there a better way of doing this?
The text was updated successfully, but these errors were encountered:
Matthewar
changed the title
Parallel_for arguments
Parallel_for argument types
Oct 8, 2017
I was getting the error
error: no matching function for call to ‘parallel_for(int, unsigned int&, juliaFrameRender_ParallelInner(unsigned int, unsigned int, complex_t, unsigned int, unsigned in t*)::<lambda(unsigned int)>)’
when trying to add the first parallel loop from 0 to width.The issue seems to be that the value 0 isn't an unsigned integer, but a normal integer, so I had to static cast it to 0 IE
static_cast<unsigned>(0)
Is there a better way of doing this?
The text was updated successfully, but these errors were encountered: