fix: Fixes Point3D TryParse (#1298)
This commit is contained in:
parent
8e80c7f9c5
commit
f314c63175
2 changed files with 14 additions and 1 deletions
|
|
@ -248,7 +248,7 @@ public struct Point3D
|
|||
var offset = firstComma + 1;
|
||||
|
||||
var secondComma = s[offset..].IndexOfOrdinal(',');
|
||||
if (secondComma == -1 || offset == secondComma)
|
||||
if (secondComma == -1)
|
||||
{
|
||||
result = default;
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue