Correct error message.

Why do I not see the typos until I've merged and pushed my
changes to the main repository?
This commit is contained in:
Kenneth Moreland 2014-09-12 09:59:38 -06:00
parent e612e423e5
commit 08893fff1b

@ -55,8 +55,8 @@ public:
if (numberOfValues > std::numeric_limits<vtkm::Id>::max())
{
throw vtkm::cont::ErrorControlOutOfMemory(
"Distance of iterators larger than maximum array size."
"To support larger arrays, try 64 bit arrays.");
"Distance of iterators larger than maximum array size. "
"To support larger arrays, try turning on VTKM_USE_64BIT_IDS.");
}
#endif // !VTKM_USE_64BIT_IDS
this->NumberOfValues = static_cast<vtkm::Id>(numberOfValues);