Skip to content

Commit

Permalink
fix tolerance index.
Browse files Browse the repository at this point in the history
  • Loading branch information
AhmedBasem20 committed Sep 3, 2024
1 parent 315659f commit 07ee7c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/dashboard/test_plots.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ document.addEventListener('DOMContentLoaded', function() {
// Create a range for tolerance trace x axis.
var xRange = [minRefValue, maxRefValue];

var tolerance = xRange.map((d, i) => data[reference_values.indexOf(d)]['atol'][parameter] + data[i]['rtol'][parameter] * d);
var tolerance = xRange.map((d) => data[reference_values.indexOf(d)]['atol'][parameter] + data[reference_values.indexOf(d)]['rtol'][parameter] * d);
var negative_tolerance = tolerance.map(t => -t);

var scatter_trace = {
Expand Down

0 comments on commit 07ee7c0

Please sign in to comment.