Commit 5172969a authored by Zhiping Jiang (蒋志平)'s avatar Zhiping Jiang (蒋志平) 💬

fix bug in linSpace.

parent a54f66ef
......@@ -58,9 +58,7 @@ namespace cve {
result.push_back(s);
}
result.push_back(end);
return cv::Mat1d(result);
return cv::Mat1d(result, true); // <-- must be true for copying data.
}
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment