X-Git-Url: https://scm.cri.ensmp.fr/git/linpy.git/blobdiff_plain/d2ec7dd24a7eeab018d12e3ae27d2d1c7226a7f3..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()