Skip to content

Commit 8960daa

Browse files
committed
Fix assert condition
1 parent f366930 commit 8960daa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/extensions.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ Int32). Therefore, `8 + sizeof(ex.edata)` should be divisible by 16.
137137
"""
138138
function esize(ex::NIfTIExtension)
139139
ret = 8 + length(ex.edata)
140-
@assert ret%16 != 0 "NIfTIExtension has innapropriate size. See docstrings for more details."
140+
@assert ret%16 == 0 "NIfTIExtension has innapropriate size. See docstrings for more details."
141141
return ret
142142
end
143143

0 commit comments

Comments
 (0)