Change PointMap.toMap return type
francescopellegrini opened this issue · 1 comments
francescopellegrini commented
The current value of mutable.TreeMap[String, Fixed2dPoint]
is not really used by itself, instead it's always converted into a Map[String, Fixed2dPoint]
.
I suggest to return map.toMap
to make it immutable.