Rename Domain.project_out() into Domain.project()
[linpy.git] / examples / squares.py
index 0df8b4b..e622c27 100755 (executable)
@@ -63,8 +63,8 @@ print()
 print('sq6:', sq6)
 print('sq6 simplified:', sq6.sample())
 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()
 print()
 print('sq1 has {} parameters'.format(sq1.num_parameters()))
 print()