Commit 2f7b69a7 authored by Smith, Robert's avatar Smith, Robert
Browse files

Fixed example constraint function



Signed-off-by: default avatarRobert Smith <smithrw@ornl.gov>
parent 20c8e3e6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
def FirstOrderSphericalBessel(symtable, X, sin, cos):
    """Performs the first order spherical bessel function on the given variable.
    """
    return (sin(X) / (X**2)) - (cos(X) / X)
    return (sin * X / (X**2)) - (cos * X / X)