Skip to content

Commit

Permalink
fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
sgratzl committed Mar 25, 2020
1 parent 6da170f commit f669d71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/model/internalCategorical.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ export function toMostFrequentCategoricals(rows: ISequence<IDataRow>, col: ICate
/** @internal */
export function toGroupCompareCategoryValue(rows: ISequence<IDataRow>, col: ICategoricalColumn, valueCache?: ISequence<ICategory | null>): ICompareValue[] {
if (isSeqEmpty(rows)) {
return [NaN, null]
return [NaN, null];
}
const mostFrequent = findMostFrequent(rows.map((d) => col.getCategory(d)), valueCache);
if (mostFrequent.cat == null) {
Expand Down

0 comments on commit f669d71

Please sign in to comment.