fix shapeless compile on ubuntu24 (#1775)

This commit is contained in:
Awni Hannun 2025-01-18 06:04:36 -08:00 committed by GitHub
parent a4667da1eb
commit a8666a757a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -37,7 +37,7 @@ class Synchronizer : public Primitive {
// are currently under a function transformation and the retain_graph() // are currently under a function transformation and the retain_graph()
// function which returns true if we are forced to retain the graph during // function which returns true if we are forced to retain the graph during
// evaluation. // evaluation.
std::vector<bool> detail::InTracing::trace_stack{}; std::vector<char> detail::InTracing::trace_stack{};
int detail::RetainGraph::tracing_counter{0}; int detail::RetainGraph::tracing_counter{0};
array eval_impl(std::vector<array> outputs, bool async) { array eval_impl(std::vector<array> outputs, bool async) {

View File

@ -36,7 +36,7 @@ struct InTracing {
} }
private: private:
static std::vector<bool> trace_stack; static std::vector<char> trace_stack;
}; };
struct RetainGraph { struct RetainGraph {