Skip to content

Commit bd3893e

Browse files
committed
Wrong dimension in error message
1 parent f493264 commit bd3893e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cxx/rl/sense/sense.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ template <int ND> auto Choose(Opts<ND> const &opts, GridOpts<ND> const &gopts, T
273273
HD5::Reader senseReader(opts.type);
274274
kernels = senseReader.readTensor<Cx5>(HD5::Keys::Data);
275275
if (kernels.dimension(4) != noncart.dimension(0)) {
276-
throw(Log::Failure("SENSE", "Kernel channels {} did not match data {}", kernels.dimension(3), noncart.dimension(0)));
276+
throw(Log::Failure("SENSE", "Kernel channels {} did not match data {}", kernels.dimension(4), noncart.dimension(0)));
277277
}
278278
}
279279
return kernels;

0 commit comments

Comments
 (0)