Skip to content

Commit

Permalink
Fix infinite operator<< loop in cuda/error.hpp
Browse files Browse the repository at this point in the history
regression from 84db53f
  • Loading branch information
jkelling authored and ddemidov committed Apr 17, 2019
1 parent 4acebae commit a0fe836
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vexcl/backend/cuda/error.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ inline std::ostream& operator<<(std::ostream &os, CUresult rc) {
VEXCL_CUDA_ERR2TXT(CUDA_ERROR_NOT_SUPPORTED);
VEXCL_CUDA_ERR2TXT(CUDA_ERROR_UNKNOWN);
default:
os << "Unknown error " << rc;
os << "Unknown error " << static_cast<int>(rc);
}
#undef VEXCL_CUDA_ERR2TXT
return os << ")";
Expand Down

0 comments on commit a0fe836

Please sign in to comment.