Skip to content
Snippets Groups Projects
Commit 95542663 authored by Eric Wait's avatar Eric Wait
Browse files

Remove runtime error from Vec class (device code cannot use it).

parent 435d3ad2
No related branches found
No related tags found
No related merge requests found
......@@ -199,8 +199,6 @@ public:
MIXED_PREFIX Vec<size_t> coordAddressOf(U idx)const
{
Vec<size_t> vecOut = Vec<size_t>(0,0,0);
if(x==0 && y==0 && z==0)
throw runtime_error("Not a valid vector to index into!");
if(x==0)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment