HPCE / hpce-2017-cw5

1 stars 6 forks source link

Gaussian Blur Constraints #21

Closed TheoFranquet closed 6 years ago

TheoFranquet commented 6 years ago

Can I confirm with someone that there is an acceptable margin of error when validating the output of the blurring algorithm?

This snippet is taken from the reference gaussian_blur.hpp:

image

In other words, will the final grading for gaussian_blur be as tolerant as the comparison above?

m8pple commented 6 years ago

CompareOutput is part of the puzzle, so is intended to be the definition of correctness ( any stupid bugs in my part not withstanding), So that tolerance should be considered to be part of the specification (in contrast, input creation is just an example, though it should be representative of typical inputs).