Skip to content

Commit

Permalink
solved init bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Oliver Frings authored and Oliver Frings committed Jul 2, 2024
1 parent 02d13c9 commit 7ab6d4f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ext/ResourceInitExt_fr.jl
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import GenFSM_resources_init_fr

function resources_init_fr!(pixels,mask,settings)
# Do the initialization by calling the init function in the package GenFSM_resources_fr
return GenFSM_resources_init_fr.init!(pixels,mask,settings)
return GenFSM_resources_init_fr.init!!(pixels,mask,settings)
end


Expand Down
2 changes: 1 addition & 1 deletion src/GenFSM.jl
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Run a scenario of GenFSM
"""
function run(project="default",scenario="default";override=[])
settings = REP.load_settings(project,scenario,override=override)
region = settings["simulation_region"]
region = settings["simulqtion_region"]
resources_regions = settings["res"]["regions"]
# first get the raster map and the unistialized pixels
raster_mask = RES.make_raster_mask(region)
Expand Down

0 comments on commit 7ab6d4f

Please sign in to comment.