Skip to content

Commit

Permalink
add Python.h include
Browse files Browse the repository at this point in the history
  • Loading branch information
chaokunyang committed Jan 15, 2025
1 parent e326271 commit 1ef388c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions cpp/fury/python/pyunicode.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
#include <string>
#include <cstring>
#include <cstdint>
#include "Python.h"
#include "pyport.h"
#include "object.h"
#include "unicodeobject.h"
Expand Down
2 changes: 1 addition & 1 deletion cpp/fury/util/array_util_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

namespace fury {
TEST(GetMaxValueTest, HandlesEmptyArray) {
uint16_t arr[] = {};
uint16_t* arr = nullptr;
EXPECT_EQ(getMaxValue(arr, 0), 0);
}

Expand Down

0 comments on commit 1ef388c

Please sign in to comment.