Skip to content

Commit

Permalink
Mark getEllipsoidTensor() as public (#344)
Browse files Browse the repository at this point in the history
May be useful for external clients of the API.
  • Loading branch information
mdoube authored Apr 24, 2024
1 parent 10a615e commit af1af29
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}

/**
Expand Down

0 comments on commit af1af29

Please sign in to comment.