Skip to content
Closed
Changes from 1 commit
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
aade052
update imports to include utils
GiacomoPope Aug 17, 2023
5ffb83e
refactor out some util functions from pyflint
GiacomoPope Aug 17, 2023
a4511c9
Refactor out context class from pyflint
GiacomoPope Aug 17, 2023
304dd67
remove some globals from pyflint
GiacomoPope Aug 17, 2023
b5b1831
include DS_Store to gitignore
GiacomoPope Aug 17, 2023
06064b0
EOF
GiacomoPope Aug 17, 2023
f36b681
Add submodule
GiacomoPope Aug 17, 2023
7b7d2d2
EOF
GiacomoPope Aug 17, 2023
622c671
Reverse old formatting
GiacomoPope Aug 17, 2023
2dee3db
Fix relative imports and now get a proper error
GiacomoPope Aug 17, 2023
0f5d236
Factor out into submodule
GiacomoPope Aug 18, 2023
726a699
ensure submodule c files are skipped
GiacomoPope Aug 18, 2023
b3e5ec9
Refactor out more conversions
GiacomoPope Aug 18, 2023
b8be99b
move away from depreciated properties
GiacomoPope Aug 18, 2023
f7c3bfc
Refactor set up for inclusion of submodules
GiacomoPope Aug 18, 2023
4e5310b
move context into new submodule
GiacomoPope Aug 18, 2023
4d7ad87
Import thectx from module and set ctx
GiacomoPope Aug 18, 2023
039e687
Import precision / cap inline functions previously defined as global
GiacomoPope Aug 18, 2023
e76daf4
Global context need not be an extension, as its not defining a new class
GiacomoPope Aug 18, 2023
f09b791
remove template classes
GiacomoPope Aug 18, 2023
522c50a
Add templates as a submodule
GiacomoPope Aug 18, 2023
8b1190f
delete unneeded file
GiacomoPope Aug 18, 2023
718b1fc
Include needed classes for each flint type
GiacomoPope Aug 18, 2023
38c9ffd
Actually include the new files
GiacomoPope Aug 18, 2023
3ab97f6
Make flint_poly a global until issue #62 is resolved
GiacomoPope Aug 18, 2023
a4d3a85
Remove imports until they're ready
GiacomoPope Aug 18, 2023
9a3fd0b
remove old pxd
GiacomoPope Aug 18, 2023
457f429
remove old pxd
GiacomoPope Aug 18, 2023
4a16f0e
Update imports
GiacomoPope Aug 18, 2023
644b5bb
Add all global context into this file
GiacomoPope Aug 18, 2023
da48588
Merge pull request #61 from GiacomoPope/introduce-submodules
oscarbenjamin Aug 18, 2023
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
Prev Previous commit
Next Next commit
Fix relative imports and now get a proper error
  • Loading branch information
GiacomoPope committed Aug 17, 2023
commit 2dee3db95efcb3c41441e0fc9d14f88a18e3e7a5
4 changes: 2 additions & 2 deletions src/flint/flint_base/flint_context.pyx
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
from ._flint cimport (
from flint._flint cimport (
ARF_RND_DOWN,
arf_rnd_t,
flint_cleanup,
flint_get_num_threads,
flint_set_num_threads
)
from .utils.conversion cimport prec_to_dps, dps_to_prec
from flint.utils.conversion cimport prec_to_dps, dps_to_prec

cdef class FlintContext:
cdef public bint pretty
Expand Down