Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ember/features.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def _entropy_bin_counts(self, block):
return Hbin, c

def raw_features(self, bytez, lief_binary):
output = np.zeros((16, 16), dtype=np.int)
output = np.zeros((16, 16), dtype=int)
a = np.frombuffer(bytez, dtype=np.uint8)
if a.shape[0] < self.window:
Hbin, c = self._entropy_bin_counts(a)
Expand Down