Skip to content

Commit

Permalink
Fixed maxIntegral in VerificationOptimization
Browse files Browse the repository at this point in the history
  • Loading branch information
MarlenyVega committed Jun 14, 2023
1 parent 8c8c515 commit ab77936
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@
generateCostTermStruct("continuous", "VerificationOptimization");
integrand = calcTreatmentOptimizationCost( ...
costTermCalculations, allowedTypes, values, modeledValues, auxdata);
integrand = integrand ./ (params.maxIntegral - params.minIntegral);
integrand = integrand ./ (auxdata.maxIntegral - auxdata.minIntegral);
integrand = integrand .^ 2;
end

0 comments on commit ab77936

Please sign in to comment.