summaryrefslogtreecommitdiff
path: root/python/src/simple_example.py
diff options
context:
space:
mode:
authorGard Spreemann <gspr@nonempty.org>2020-08-27 12:35:45 +0200
committerGard Spreemann <gspr@nonempty.org>2020-08-27 12:35:45 +0200
commit0356915f2d3e4f41b1993fc4688f07431506f610 (patch)
tree6eecbae2c86e57948d94f76460929c1793c3813e /python/src/simple_example.py
parenta378599c297e61be6543079945819e8da9d55b38 (diff)
parent746517263955660b5a0a0f4defc18f2d2d84f502 (diff)
Merge tag 'v1.6' into debian/sid
Added tag v1.6 for changeset 746517263955
Diffstat (limited to 'python/src/simple_example.py')
-rw-r--r--python/src/simple_example.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/python/src/simple_example.py b/python/src/simple_example.py
index 955e213..7aa6214 100644
--- a/python/src/simple_example.py
+++ b/python/src/simple_example.py
@@ -21,8 +21,10 @@ if __name__ == "__main__":
import phat
- # define a boundary matrix with the chosen internal representation
- boundary_matrix = phat.boundary_matrix(representation = phat.representations.vector_vector)
+ boundary_matrix = phat.boundary_matrix()
+
+ # or define a boundary matrix with the chosen internal representation
+ # boundary_matrix = phat.boundary_matrix(representation = phat.representations.bit_tree_pivot_column)
# set the respective columns -- (dimension, boundary) pairs
boundary_matrix.columns = [ (0, []),