diff --git a/Modern/ops/src/main/java/org/bonej/ops/ellipsoid/QuickEllipsoid.java b/Modern/ops/src/main/java/org/bonej/ops/ellipsoid/QuickEllipsoid.java index 8f373b4d..598d361c 100644 --- a/Modern/ops/src/main/java/org/bonej/ops/ellipsoid/QuickEllipsoid.java +++ b/Modern/ops/src/main/java/org/bonej/ops/ellipsoid/QuickEllipsoid.java @@ -222,11 +222,11 @@ public boolean contains(final double x, final double y, final double z) { * * @return 3×3 matrix containing H, the ellipsoid tensor */ - private double[][] getEllipsoidTensor() { + public double[][] getEllipsoidTensor() { if (this.eh == null) { this.eh = times(times(ev, ed), transpose(ev)); } - return this.eh; + return this.eh.clone(); } /**