Skip to content

Commit 858f463

Browse files
author
michael boulton
committed
Fix reading in number for opencl_device
1 parent 9238a09 commit 858f463

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ocl_strings.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ std::string matchParam
1919
{
2020
if (line.find("=") != std::string::npos)
2121
{
22-
param_string = std::string(line.erase(0, line.find("=")));
22+
param_string = std::string(line.erase(0, 1+line.find("=")));
2323
}
2424
else
2525
{

0 commit comments

Comments
 (0)