In candle-core (git 671de1d), min(D) and max(D) return Result<Tensor>, not Result<(Tensor, Tensor)>. Use flatten_all() then min(0)/max(0) for scalar reduction instead of the tuple destructuring pattern. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>