X-Git-Url: https://svn.cri.ensmp.fr/git/linpy.git/blobdiff_plain/fb070deb31a82b789e1be4ffc5dfa64b4b7a9e36..40d0f350adb81eb15adb3aa68867aaf768358550:/examples/squares.py diff --git a/examples/squares.py b/examples/squares.py index 0df8b4b..e622c27 100755 --- a/examples/squares.py +++ b/examples/squares.py @@ -63,8 +63,8 @@ print() print('sq6:', sq6) print('sq6 simplified:', sq6.sample()) print() -print(universe.project_out([x])) -print('sq7 with out constraints involving y and a', sq7.project_out([a, z, x, y])) #drops dims that are passed +print(universe.project([x])) +print('sq7 with out constraints involving y and a', sq7.project([a, z, x, y])) #drops dims that are passed print() print('sq1 has {} parameters'.format(sq1.num_parameters())) print()