Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
pydensecrf
Commits
d1eae113
Commit
d1eae113
authored
Oct 12, 2017
by
Marvin Teichmann
Browse files
Fix wrong type test
parent
99805385
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
pydensecrf/test_eigen.py
pydensecrf/test_eigen.py
+1
-1
No files found.
pydensecrf/test_eigen.py
View file @
d1eae113
...
@@ -27,7 +27,7 @@ def test_wrong_dims():
...
@@ -27,7 +27,7 @@ def test_wrong_dims():
def
test_wrong_type
():
def
test_wrong_type
():
np_matrix
=
np
.
random
.
randn
(
3
,
3
,
3
).
astype
(
np
.
float64
)
np_matrix
=
np
.
random
.
randn
(
3
,
3
).
astype
(
np
.
float64
)
# c_matrix requies type np.float32
# c_matrix requies type np.float32
with
pytest
.
raises
(
ValueError
):
with
pytest
.
raises
(
ValueError
):
# Check whether a Value Error is raised
# Check whether a Value Error is raised
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment