Dear All

Can anyone help me with the following issue

 

 

 

 

mprof run --python laplace.py

mprof: Sampling memory every 0.1s

running new process

running as a Python program...

sfepy: reading mesh (rectangle2D.mesh)...

sfepy:   number of vertices: 3436

sfepy:   number of cells:

sfepy:     2_3: 6670

sfepy: ...done in 0.03 s

Traceback (most recent call last):

  File "C:\Anaconda3\lib\runpy.py", line 197, in _run_module_as_main

    return _run_code(code, main_globals, None,

  File "C:\Anaconda3\lib\runpy.py", line 87, in _run_code

   exec(code, run_globals)

  File "C:\Anaconda3\lib\site-packages\memory_profiler.py", line 1349, in <module>

    exec_with_profiler(script_filename, prof, args.backend, script_args)

  File "C:\Anaconda3\lib\site-packages\memory_profiler.py", line 1250, in exec_with_profiler

    exec(compile(f.read(), filename, 'exec'), ns, ns)

  File "laplace.py", line 53, in <module>

    main()

  File "laplace.py", line 42, in main

    solve_laplace()

  File "laplace.py", line 33, in solve_laplace

    pb = Problem('Laplace problem', equations=eqs, ls=ls)

TypeError: __init__() got an unexpected keyword argument 'ls'

 

Sent from Mail for Windows