functions SIGN and pythag are made private
This commit is contained in:
parent
46a8e5fca4
commit
de2f82c878
@ -351,7 +351,7 @@ internal fun DoubleTensorAlgebra.svdHelper(
|
||||
}
|
||||
}
|
||||
|
||||
internal fun pythag(a: Double, b: Double): Double {
|
||||
private fun pythag(a: Double, b: Double): Double {
|
||||
val at: Double = abs(a)
|
||||
val bt: Double = abs(b)
|
||||
val ct: Double
|
||||
@ -366,7 +366,7 @@ internal fun pythag(a: Double, b: Double): Double {
|
||||
return result
|
||||
}
|
||||
|
||||
internal fun SIGN(a: Double, b: Double): Double {
|
||||
private fun SIGN(a: Double, b: Double): Double {
|
||||
if (b >= 0.0)
|
||||
return abs(a)
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user