Skip to content

Commit

Permalink
Merge pull request #56 from DataDog/cmasson/default_mapping
Browse files Browse the repository at this point in the history
Reset the default mapping to logarithmic
  • Loading branch information
CharlesMasson authored Sep 24, 2021
2 parents ca76a99 + 9c0b6d8 commit 24025c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ddsketch/mapping/index_mapping.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ type IndexMapping interface {
}

func NewDefaultMapping(relativeAccuracy float64) (IndexMapping, error) {
return NewCubicallyInterpolatedMapping(relativeAccuracy)
return NewLogarithmicMapping(relativeAccuracy)
}

// FromProto returns an Index mapping from the protobuf definition of it
Expand Down

0 comments on commit 24025c9

Please sign in to comment.