fix: Fixes Point3D TryParse (#1298)

This commit is contained in:
Kamron Batman 2022-12-07 20:11:32 -08:00 committed by GitHub
parent 8e80c7f9c5
commit f314c63175
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 1 deletions

View file

@ -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;