Skip to content

Commit

Permalink
Don't alias _Graph as Model in symbols.pyx
Browse files Browse the repository at this point in the history
  • Loading branch information
arcondello committed Dec 4, 2024
1 parent d9db85a commit 66e3ac3
Show file tree
Hide file tree
Showing 2 changed files with 64 additions and 64 deletions.
4 changes: 2 additions & 2 deletions dwave/optimization/symbols.pxd
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@

from libcpp.typeinfo cimport type_info

from dwave.optimization.model cimport Model
from dwave.optimization._graph cimport _Graph
from dwave.optimization.libcpp.graph cimport Array as cppArray
from dwave.optimization.libcpp.graph cimport Node as cppNode

cdef void _register(object cls, const type_info& typeinfo)

cdef object symbol_from_ptr(Model model, cppNode* ptr)
cdef object symbol_from_ptr(_Graph model, cppNode* ptr)
Loading

0 comments on commit 66e3ac3

Please sign in to comment.