Skip to content

Commit

Permalink
fix dislib package name
Browse files Browse the repository at this point in the history
  • Loading branch information
Jorge Ejarque committed Feb 27, 2023
1 parent 412d3e6 commit c0b6341
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rom_pillar_I/reduce_order_model/src/ROM_workflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def load_model_parameters(model_file):

@dt("blocks", load_blocks_rechunk, shape=expected_shape, block_size=simulation_block_size,
new_block_size=desired_block_size, is_workflow=True)
@software(config_file = SW_CATALOG + "/dislib/dislib.json")
@software(config_file = SW_CATALOG + "/py-dislib/dislib.json")
def rSVD(blocks, desired_rank=30):
from dislib_randomized_svd import rsvd
u,s = rsvd(blocks, desired_rank, A_row_chunk_size, A_column_chunk_size)
Expand All @@ -99,7 +99,7 @@ def rSVD(blocks, desired_rank=30):
new_block_size=desired_block_size, is_workflow=True)
@dt("SnapshotsMatrixFOM", load_blocks_rechunk, shape=expected_shape, block_size=simulation_block_size,
new_block_size=desired_block_size, is_workflow=True)
@software(config_file = SW_CATALOG + "/dislib/dislib.json")
@software(config_file = SW_CATALOG + "/py-dislib/dislib.json")
def compare_ROM_vs_FOM(SnapshotsMatrixROM, SnapshotsMatrixFOM):
import dislib as ds
import numpy as np
Expand Down

0 comments on commit c0b6341

Please sign in to comment.