Skip to content

Commit

Permalink
bugfix: buffer is call by data/1 instead of buffer/1
Browse files Browse the repository at this point in the history
  • Loading branch information
BorjaEst committed Mar 22, 2020
1 parent 54e8231 commit 922b7b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/numerl.erl
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
-spec mean(NdArray :: ndarray:ndarray()) ->
Mean :: float().
mean(NdArray) ->
ltools:mean(ndarray:buffer(NdArray)).
ltools:mean(ndarray:data(NdArray)).

-spec mean(NdArray :: ndarray:ndarray(), Axis :: integer()) ->
NdArray :: ndarray:ndarray().
Expand Down

0 comments on commit 922b7b0

Please sign in to comment.