Skip to content

Commit

Permalink
fix: removed reveal_type manually
Browse files Browse the repository at this point in the history
  • Loading branch information
supersergiy committed Jan 5, 2023
1 parent 952a4a3 commit c5456de
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,17 +50,15 @@ def build_interpolate_flow(
if dst is None:
dst = src

# must use generator since np.float64 is not a float
scale_factor = src_resolution / dst_resolution
reveal_type(scale_factor)
# res_change_mult = tuple(float(e) for e in dst_resolution / src_resolution)
res_change_mult = dst_resolution / src_resolution

flow_schema = build_chunked_volumetric_callable_flow_schema(
fn=_interpolate,
res_change_mult=res_change_mult,
chunker=VolumetricIndexChunker(chunk_size=chunk_size),
)

flow = flow_schema(
idx=VolumetricIndex(bcube=bcube, resolution=dst_resolution),
dst=dst,
Expand Down

0 comments on commit c5456de

Please sign in to comment.