Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed an error message in SVD utils #6608

Merged
merged 1 commit into from
May 18, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -482,8 +482,8 @@ private static void divideBySampleMedianAndTransformToLog2(final RealMatrix matr
IntStream.range(0, sampleMedians.length).forEach(sampleIndex ->
ParamUtils.isPositive(sampleMedians[sampleIndex],
sampleMedians.length == 1
? "Sample does not have a non-negative sample median."
: String.format("Sample at index %s does not have a non-negative sample median.", sampleIndex)));
? "Sample does not have a positive sample median."
: String.format("Sample at index %s does not have a positive sample median.", sampleIndex)));
matrix.walkInOptimizedOrder(new DefaultRealMatrixChangingVisitor() {
@Override
public double visit(int sampleIndex, int intervalIndex, double value) {
Expand Down