Skip to content

Commit

Permalink
Merge branch 'master' into pluggable_factory_file_formats
Browse files Browse the repository at this point in the history
  • Loading branch information
GeertLitjens committed Jan 4, 2017
2 parents 6e38719 + 97e9395 commit 855339a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/Patch.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ Patch<T>::Patch(const std::vector<unsigned long long>& dimensions, const patholo
}
if (!dimensions.empty()) {
if ((_colorType == pathology::ARGB && dimensions.back() != 4) || (_colorType == pathology::RGB && dimensions.back() != 3) || (_colorType == pathology::Monochrome && dimensions.back() != 1)) {
_colorType == pathology::Indexed;
_colorType = pathology::Indexed;
}
}
calculateStrides();
Expand Down

0 comments on commit 855339a

Please sign in to comment.