Changeset 4266


Ignore:
Timestamp:
Feb 18, 2007, 6:34:41 AM (16 years ago)
Author:
jack
Message:

Fix syntax error in benchmark_least_squares.py.
Updated the SConstruct to actually work with recent versions.

Location:
anuga_core/source/anuga
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • anuga_core/source/anuga/SConstruct

    r3875 r4266  
    135135mesh_install_dir = os.path.join(install_root, 'mesh_engine')
    136136
    137 triang = mesh_env.SharedLibrary(os.path.join(mesh_dir, 'triang'), map(lambda s: os.path.join(mesh_dir, s), ['triangle.c', 'triang.c']))
    138 triangle = mesh_env.SharedLibrary(os.path.join(mesh_dir, 'triangle'), map(lambda s: os.path.join(mesh_dir, s), ['triangle.c']))
    139 env.Install(mesh_install_dir, triang)
    140 env.Install(mesh_install_dir, triangle)
     137mesh_c_layer = mesh_env.SharedLibrary(os.path.join(mesh_dir, 'mesh_engine_c_layer'), map(lambda s: os.path.join(mesh_dir, s), ['mesh_engine_c_layer.c', 'triangle.c']))
     138#triang = mesh_env.SharedLibrary(os.path.join(mesh_dir, 'triang'), map(lambda s: os.path.join(mesh_dir, s), ['triangle.c']))
     139#triangle = mesh_env.SharedLibrary(os.path.join(mesh_dir, 'triangle'), map(lambda s: os.path.join(mesh_dir, s), ['triangle.c']))
     140#env.Install(mesh_install_dir, triang)
     141#env.Install(mesh_install_dir, triangle)
     142env.Install(mesh_install_dir, mesh_c_layer)
    141143
    142144# Utilities
  • anuga_core/source/anuga/fit_interpolate/benchmark_least_squares.py

    r4223 r4266  
    118118                                         points_dict['point_attributes'])
    119119                    G1.export_points_file(fileName, absolute=True)
    120                     calc = interp.fit(fileName), verbose=verbose)
     120                    calc = interp.fit(fileName, verbose=verbose)
    121121                    os.remove(fileName)
    122122                   
Note: See TracChangeset for help on using the changeset viewer.