From d0fc9940ce31a7c2ca8bd8d56a5c2a95500eefcc Mon Sep 17 00:00:00 2001 From: Nadiah Kristensen Date: Mon, 13 Apr 2015 12:07:40 +1000 Subject: [PATCH 1/2] Update README.md --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index af25a27..64a877f 100644 --- a/README.md +++ b/README.md @@ -12,3 +12,9 @@ Use: >>> permanent(eye(15)) (1-0j) ``` +Please note that the function assumes that the array contains complex numbers. So for example: +```python +>>> permanent(array([[0,1],[1,1]]), dtype=complex) +(1+0j) +``` +whereas using ```permanent(array([[0,1],[1,1]]))``` will not produce the expected result. From f342ac9440a3df7fd204f5cdc9bc0aabab9c8751 Mon Sep 17 00:00:00 2001 From: Pete Shadbolt Date: Mon, 1 Jun 2015 15:22:10 +0100 Subject: [PATCH 2/2] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 64a877f..3c4aaf2 100644 --- a/README.md +++ b/README.md @@ -12,9 +12,9 @@ Use: >>> permanent(eye(15)) (1-0j) ``` -Please note that the function assumes that the array contains complex numbers. So for example: +Please note that for now we assume that the input array's `dtype` is `complex`. So for example: ```python >>> permanent(array([[0,1],[1,1]]), dtype=complex) (1+0j) ``` -whereas using ```permanent(array([[0,1],[1,1]]))``` will not produce the expected result. +whereas ```permanent(array([[0,1],[1,1]]))``` will not produce the expected result.