Skip to content

Commit b3100f8

Browse files
author
peng.li24
committed
refactor(numpycpp): update buffer_dtype.h
1 parent d0984e8 commit b3100f8

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

numpycpp/detail/buffer_dtype.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ struct BufDtype {
3232
bool is_int32() const { return kind == BufKind::INT32; }
3333
bool is_int64() const { return kind == BufKind::INT64; }
3434
bool is_bool() const { return kind == BufKind::BOOL; }
35-
bool is_float() const { return is_float32() || is_float64(); }
3635
};
3736

3837
/// 纯 C++ 解析 buffer_info::format + itemsize,零 Python 调用。

0 commit comments

Comments
 (0)