Skip to content
This repository was archived by the owner on Jul 26, 2025. It is now read-only.

Commit acd6fd2

Browse files
authored
fix: Roi.solidity was not caching result (#468)
1 parent cca4975 commit acd6fd2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/roi/Roi.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -511,7 +511,7 @@ export class Roi {
511511
* @returns Solidity value.
512512
*/
513513
get solidity() {
514-
return this.surface / getConvexHull(this.getMask()).surface;
514+
return this.surface / this.convexHull.surface;
515515
}
516516
//TODO Should be refactored to not need creating a new Mask.
517517

0 commit comments

Comments
 (0)