File tree Expand file tree Collapse file tree
core/src/main/scala/astraea/spark/rasterframes Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -334,6 +334,6 @@ trait RasterFunctions {
334334
335335 /** Natural logarithm of one plus cell values. */
336336 def log1p (tileCol : Column ): TypedColumn [Any , Tile ] =
337- Log (local_add(tileCol, 1 .))
337+ Log (local_add(tileCol, 1.0 ))
338338
339339}
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ import org.apache.spark.sql.catalyst.expressions.UnaryExpression
3131import org .apache .spark .sql .rf .TileUDT
3232import org .apache .spark .sql .types .DataType
3333
34- /** Operation combining two tiles or a tile and a scalar into a new tile. */
34+ /** Operation on a tile returning a tile. */
3535trait UnaryLocalRasterOp extends UnaryExpression with LazyLogging {
3636
3737 override def dataType : DataType = child.dataType
You can’t perform that action at this time.
0 commit comments