(
matrix: &IMArrayElement,
precision: Option<Precision>,
)
| 26 | } |
| 27 | |
| 28 | pub fn log1p_expression( |
| 29 | matrix: &IMArrayElement, |
| 30 | precision: Option<Precision>, |
| 31 | ) -> anyhow::Result<()> { |
| 32 | let precision = precision.unwrap_or_default(); |
| 33 | crate::memory::utils::convert_to_float_if_non_float_type(matrix, Some(precision))?; |
| 34 | log1p(matrix) |
| 35 | } |
| 36 | |
| 37 | fn log1p(matrix: &IMArrayElement) -> anyhow::Result<()> { |
| 38 | let mut write_guard = matrix.0.write_inner(); |
nothing calls this directly
no test coverage detected