Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
CAMP
campvis-public
Commits
cc13551b
Commit
cc13551b
authored
Sep 11, 2014
by
Hossain Mahmud
Browse files
small fix for absolute image diff
parent
d4aa071c
Changes
1
Show whitespace changes
Inline
Side-by-side
test/visregtests/script.py
View file @
cc13551b
...
...
@@ -95,7 +95,7 @@ for case in casesDir :
testim
=
io
.
imread
(
testFilePath
);
# Check dimension of the file before finding difference
if
(
ref
.
shape
==
testim
.
shape
)
:
test
=
ref
-
testim
;
test
=
np
.
abs
(
ref
.
astype
(
int
)
-
testim
.
astype
(
int
))
;
else
:
print
"i'm in else! HELP me!"
test
=
ref
;
...
...
Write
Preview
Supports
Markdown
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