-
Notifications
You must be signed in to change notification settings - Fork 11
Closed
Labels
bugfixPatches something that isn't workingPatches something that isn't working
Milestone
Description
As reported by a user:
The bootstrap_analysis function crashes if the function being bootstrapped returns a scalar-valued variable. For example:
def bootfcn(V):
fit = dl.fit(Vmodel,V)
return fit_s1.model, fit.P, fit.P_scale, fit.conc, fit.mod
bootuq = dl.bootstrap_analysis(bootfcn,Vexp,Vfit)This is easily fixed when passing them as a list, so it should be an easy fix:
def bootfcn(V):
fit = dl.fit(Vmodel,V)
return fit_s1.model, fit.P, [fit.P_scale], [fit.conc], [fit.mod]
bootuq = dl.bootstrap_analysis(bootfcn,Vexp,Vfit)Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugfixPatches something that isn't workingPatches something that isn't working