From 8057200dd921e2157006ecb680b444129ca384fa Mon Sep 17 00:00:00 2001 From: Michael Krabbe Borregaard Date: Fri, 7 Sep 2018 10:49:40 +0200 Subject: [PATCH] typo --- src/ComMatrix.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ComMatrix.jl b/src/ComMatrix.jl index a7c74be..db7cbd1 100644 --- a/src/ComMatrix.jl +++ b/src/ComMatrix.jl @@ -30,7 +30,7 @@ nplaces(com::AbstractComMatrix) = size(com.occurrences, 2) nplaces(sd::SiteData) = size(coordinates(sd.site), 1) nplaces(sd::SELocations) = DataFrames.ncol(sd.sitestats) -nrecords(com::AbstractComMatrix) = _nnz(occurrences(asm)) +nrecords(com::AbstractComMatrix) = _nnz(occurrences(com)) const getspecies = thingoccurrences thingoccurrences(com::AbstractComMatrix, idx) = thingoccurrences(occurrences(com), idx)