Skip to content

Commit

Permalink
Merge pull request #24 from omaraltayyan/patch-1
Browse files Browse the repository at this point in the history
Fixed a small bug rarely causing type mismatch
  • Loading branch information
astorfi authored Jul 12, 2018
2 parents 9476462 + 2593279 commit ae9ceec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion speechpy/processing.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ def derivative_extraction(feat, DeltaWindows):
rows, cols = feat.shape

# Difining the vector of differences.
DIF = np.zeros(feat.shape, dtype=float)
DIF = np.zeros(feat.shape, dtype=feat.dtype)
Scale = 0

# Pad only along features in the vector.
Expand Down

0 comments on commit ae9ceec

Please sign in to comment.