You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here we will have matches = List(true, true), because "Core 10" contains both "Core 1" and "Core 10". I would say the desired results should have been matches = List(true, false).
I don't remember precisely, but does "Core 1 " (note the space) resolve this too? It's quite the hack, but I seem to recall that's how I got around this issue.
Obviously the more fundamental problem is using this string matching system in the first place... I couldn't find a better way to do this without major API additions elsewhere.
Method
getNode
inDiplomaticNetworkNodeMapping
cannot handle more than 9 cores. The issue is with how string matching is performed, consider:Here we will have
matches = List(true, true)
, because "Core 10" contains both "Core 1" and "Core 10". I would say the desired results should have beenmatches = List(true, false)
.A quick fix is:
The text was updated successfully, but these errors were encountered: