   }
 
   public func sample<G: RandomNumberGenerator>(generator: inout G) -> ShapedArray<Int32> {
-    return ShapedArray<Int32>(Int32.random(in: 0..<size, using: &generator))
+    return ShapedArray(Int32.random(in: 0..<size, using: &generator))
   }
 
   public func contains(_ value: ShapedArray<Int32>) -> Bool {

    for _ in 0..<size {
      scalars.append(Int32.random(in: 0...1, using: &generator))
    }
    return ShapedArray<Int32>(shape: [size], scalars: scalars)
  }

  public func contains(_ value: ShapedArray<Int32>) -> Bool {

    for size in sizes {
      scalars.append(Int32.random(in: 0..<size, using: &generator))
    }
    return ShapedArray(shape: shape, scalars: scalars)
  }

  public func contains(_ value: ShapedArray<Int32>) -> Bool {
