Skip to content

Commit

Permalink
updated water_properties in repo
Browse files Browse the repository at this point in the history
  • Loading branch information
froido committed Feb 8, 2021
1 parent fdb7c34 commit a329d86
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Binary file modified GUI.mlapp
Binary file not shown.
6 changes: 3 additions & 3 deletions classes/TriaxTestHandler.m
Original file line number Diff line number Diff line change
Expand Up @@ -504,9 +504,9 @@
thisPath = fileparts(which([mfilename('class'),'.m'])); %Get the folder of the actual class file
submodulePath = [thisPath, '/water-properties'];
addpath(submodulePath) % Add sobmodule path
obj.waterProperties = water_properties;
obj.waterProperties.density = obj.waterProperties.rho; %Load water properties as struct
obj.waterProperties.viscosity = obj.waterProperties.nu; %Load water properties as struct
obj.waterProperties = water;
% obj.waterProperties.density = obj.waterProperties.rho; %Load water properties as struct
% obj.waterProperties.viscosity = obj.waterProperties.nu; %Load water properties as struct
catch E
error('%s: Error while loading water_properties() from submodule water-properties/water-properties.m The submodule water-properties is missing. Get it from https://github.com/isantosruiz/water-properties \n(%s)', ...
class(obj), E.message);
Expand Down

0 comments on commit a329d86

Please sign in to comment.