Skip to content

Commit

Permalink
Fix check
Browse files Browse the repository at this point in the history
  • Loading branch information
flanglet committed Dec 17, 2023
1 parent f33f80e commit 4b5744d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion v2/transform/ROLZCodec.go
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ func (this *rolzCodec1) Forward(src, dst []byte) (uint, uint, error) {
internal.ComputeHistogram(src, freqs0[:], true, false)
dt = internal.DetectSimpleType(len(src), freqs0[:])

if dt == internal.DT_UNDEFINED {
if dt != internal.DT_UNDEFINED {
(*this.ctx)["dataType"] = dt
}
}
Expand Down

0 comments on commit 4b5744d

Please sign in to comment.