Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
cc4s
Cyclops Tensor Framework
Commits
805620f3
Commit
805620f3
authored
9 years ago
by
Edgar Solomonik
Browse files
Options
Download
Email Patches
Plain Diff
Fixed bug with test_suite -n 2 involving zero-sized tensor
parent
4fce8300
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
src/tensor/untyped_tensor.cxx
src/tensor/untyped_tensor.cxx
+1
-0
No files found.
src/tensor/untyped_tensor.cxx
View file @
805620f3
...
...
@@ -1056,6 +1056,7 @@ namespace CTF_int {
tsr
=
this
;
if
(
tsr
->
has_zero_edge_len
){
*
num_pair
=
0
;
*
mapped_data
=
NULL
;
return
SUCCESS
;
}
ASSERT
(
!
tsr
->
is_folded
);
...
...
This diff is collapsed.
Click to expand it.
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